GNU bug report logs - #641
format-time-string %Z does not work, starting with Emacs 22.2

Previous Next

Packages: w32, emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 1 Aug 2008 16:55:06 UTC

Severity: wishlist

Merged with 9794

Found in versions 22.2, 23.0.60, 24.0.90

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: 641 <at> debbugs.gnu.org
Subject: bug#641: format-time-string %Z does not work, starting with Emacs 22.2
Date: Mon, 04 Aug 2008 23:24:12 +0200
> emacs -Q
> M-: (format-time-string "%Z) ==> ""
> M-: (format-time-string "%z) ==> "-0700"
>
> The %Z string is incorrect. In my case, it should be (as it is in
> Emacs 20 and Emacs 22.1): "Pacific Daylight Time".
>
> This same bug appears in Emacs 23.  This is a regression from Emacs
> 22.1.

See

2007-06-07  Jason Rumney  <jasonr <at> gnu.org>

	* s/ms-w32.h: Don't define HAVE_TZNAME.

	* editfns.c (Fcurrent_time_zone): Remove hack for Japanese Windows.

and the preceding discussion starting with

http://lists.gnu.org/archive/html/emacs-devel/2007-06/msg00334.html

martin





This bug report was last modified 13 years and 270 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.