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#9794: 24.0.90; `format-time-string' no good for %Z Date: Wed, 19 Oct 2011 09:47:40 +0200 Message-ID: <83aa8xv2w3.fsf@gnu.org> References: <68A313A7DDAA4912A255DAFE495606F9@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1319010501 9986 80.91.229.12 (19 Oct 2011 07:48:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2011 07:48:21 +0000 (UTC) Cc: 9794@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 19 09:48:17 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RGQso-0004gV-K7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 09:48:14 +0200 Original-Received: from localhost ([::1]:38379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGQsi-0000HM-QA for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 03:48:08 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGQsf-0000HD-Fw for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 03:48:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGQsb-0002lt-Go for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 03:48:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGQsb-0002lo-5I for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 03:48:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RGQtZ-00087f-Qp for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 03:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Oct 2011 07:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9794 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 9794-submit@debbugs.gnu.org id=B9794.131901053031206 (code B ref 9794); Wed, 19 Oct 2011 07:49:01 +0000 Original-Received: (at 9794) by debbugs.gnu.org; 19 Oct 2011 07:48:50 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGQtO-00087H-79 for submit@debbugs.gnu.org; Wed, 19 Oct 2011 03:48:50 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGQtL-000873-La for 9794@debbugs.gnu.org; Wed, 19 Oct 2011 03:48:49 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LTA00F00YZE7R00@a-mtaout21.012.net.il> for 9794@debbugs.gnu.org; Wed, 19 Oct 2011 09:47:39 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.212.197]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LTA00F0WYZF0W60@a-mtaout21.012.net.il>; Wed, 19 Oct 2011 09:47:39 +0200 (IST) In-reply-to: <68A313A7DDAA4912A255DAFE495606F9@us.oracle.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 19 Oct 2011 03:49:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52835 Archived-At: > From: "Drew Adams" > Date: Tue, 18 Oct 2011 23:44:15 -0700 > > emacs -Q > > M-: (format-time-string "Started: %a %b %e %T %Y (%Z)" (current-time)) > > For me that produces this: > > "Started: Tue Oct 18 23:40:28 2011 ()" > > The %Z doesn't work at all. This is a regression that started in Emacs > 22. In Emacs 20 and 21 (emacs -Q) it works correctly, displaying this: > > "Started: Tue Oct 18 23:40:28 2011 (Pacific Daylight Time)" > > If Emacs 20 can pick up the name Pacific Daylight Time correctly, from wherever > it gets it, then so should Emacs 24 be able to do so. No user config (e.g. > setting env vars) should be necessary. (That doesn't preclude user config - the > point is that even without it %Z should DTRT.) This is an old bug #641, see there regarding the explanation why the current behavior is correct.