From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#641: format-time-string %Z does not work, starting with Emacs 22.2 Date: Fri, 08 Aug 2008 10:21:08 +0300 Message-ID: References: <4897737C.90709@gmx.at> <86skthj4yf.fsf@lifelogs.com> <86fxphgdw1.fsf@lifelogs.com> <489B441F.6070402@gmail.com> <489B5792.80504@gmail.com> <489B5CDC.3050902@gmail.com> <489B634C.1040602@gmail.com> Reply-To: Eli Zaretskii , 641@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1218181694 15032 80.91.229.12 (8 Aug 2008 07:48:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2008 07:48:14 +0000 (UTC) Cc: lekktu@gmail.com, tzz@lifelogs.com, bug-gnu-emacs@gnu.org To: "Lennart Borgman (gmail)" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 08 09:49:05 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KRMiL-0000OH-NJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Aug 2008 09:48:46 +0200 Original-Received: from localhost ([127.0.0.1]:57986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRMhP-00062g-I3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Aug 2008 03:47:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRMhB-0005z6-Ge for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 03:47:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRMhA-0005yZ-C5 for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 03:47:33 -0400 Original-Received: from [199.232.76.173] (port=50810 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRMhA-0005yV-9E for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 03:47:32 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:29002) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRMhA-0008Fc-AY for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 03:47:32 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRMh9-00059F-0S for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 03:47:31 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m787lNgJ025122; Fri, 8 Aug 2008 00:47:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m787U3Gf019510; Fri, 8 Aug 2008 00:30:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Fri, 08 Aug 2008 07:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 641 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121818009517801 (code B ref -1); Fri, 08 Aug 2008 07:30:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 8 Aug 2008 07:21:35 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m787LVPf017795 for ; Fri, 8 Aug 2008 00:21:32 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRMHz-00045X-2Y for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 03:21:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRMHy-00043e-6v for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 03:21:30 -0400 Original-Received: from [199.232.76.173] (port=42188 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRMHy-00043X-1i for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 03:21:30 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:27424) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRMHy-0006Mm-9t for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 03:21:30 -0400 Original-Received: from mtaout1.012.net.il ([84.95.2.1]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRMHw-0002pb-K0 for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 03:21:29 -0400 Original-Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K5900G1ATRO7220@i-mtaout1.012.net.il> for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 10:21:24 +0300 (IDT) In-reply-to: <489B634C.1040602@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-kernel: by mx20.gnu.org: Solaris 9.1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Fri, 08 Aug 2008 03:47:32 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19136 Archived-At: > Date: Thu, 07 Aug 2008 23:04:12 +0200 > From: "Lennart Borgman (gmail)" > CC: 641@emacsbugs.donarmstrong.com, Eli Zaretskii , > tzz@lifelogs.com, bug-gnu-emacs@gnu.org > > > You're assuming too much. Countries in the same apparent time zone do > > not have to follow the same DST rules, for example. > > Yes, I surely am assuming something that is wrong ;-) > > Is not "+0200" the offset from the UTC standard time zone (or whatever > it is called)? Yes, it is, but what string would you translate +0200 to? There are numerous time-zone names that map to the same offset at any given time. It is impossible to use just one random time-zone name for this translation, because tomorrow some of them will switch to +0300, while others will not. In other words, if the offset is all you care about, you could simply use %z, and be done with it. This isn't the problem we are discussing.