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


Message #121 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tzz <at> lifelogs.com, bug-gnu-emacs <at> gnu.org
Subject: Re: bug#641: format-time-string %Z does not work,	starting with Emacs
 22.2
Date: Thu, 07 Aug 2008 22:14:10 +0200
Eli Zaretskii wrote:
>> Date: Thu, 07 Aug 2008 20:51:11 +0200
>> From: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
>> CC: Ted Zlatanov <tzz <at> lifelogs.com>, bug-gnu-emacs <at> gnu.org
>>
>> Eli Zaretskii wrote:
>>>> From: Ted Zlatanov <tzz <at> lifelogs.com>
>>>> Date: Thu, 07 Aug 2008 08:20:46 -0500
>>>>
>>>> We could build a database of known Microsoft timezones and map them to
>>>> ISO timezones.  It has to be done just once and then updated very
>>>> rarely--timezone names don't change often.  The full list of timezones
>>>> is in 
>>>>
>>>> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones 
>>> I already mentioned this possibility in an earlier message here.  The
>>> problem is that what you actually see in `tzname' could be a localized
>>> name, not the US English name.  So unless someone finds (or crafts) an
>>> exhaustive list of all TZ names both in English and in any localized
>>> language to which each one could be translated by Windows, this will
>>> work only on some machines.
>>
>> How many time zones are there?
> 
> I see 87 on my machine.

Does that mean that there is a mapping one to many from the numeric 
format to the string format? How is that resolved?





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

Previous Next


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