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

Previous Next

Packages: emacs, w32;

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: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: lennart.borgman <at> gmail.com, tzz <at> lifelogs.com, bug-gnu-emacs <at> gnu.org
Subject: bug#641: format-time-string %Z does not work,	starting with Emacs 22.2
Date: Fri, 08 Aug 2008 10:17:52 +0300
> Date: Thu, 07 Aug 2008 23:20:22 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> CC: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>, 
>  tzz <at> lifelogs.com,  bug-gnu-emacs <at> gnu.org
> 
>  >>How many time zones are there?
>  >
>  > I see 87 on my machine.
> 
> Hmmm ... I suppose these include DSTs.

No, they are just _names_.  Under each name there are rules for
switching between standard and daylight-saving time, and also the
specific strings to use as the time-zone name during standard and
daylight-saving periods.

> Anyway, wouldn't we have to multiply this with the number of
> languages supported?

Each name should be multiplied by the number of spellings in different
languages supported by the corresponding locale.  I don't know what is
the multiplication factor, but it's probably at least 2.  And that's
in addition to the 2 values for standard and daylight-saving periods.

However, the sheer number of the possible names is not the issue now.
It's the fact that we simply do not know all the possible spellings
that makes this idea impossible to implement at this time.





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.