bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#641: format-time-string %Z does not work, starting with Emacs 22


From: Ted Zlatanov
Subject: Re: bug#641: format-time-string %Z does not work, starting with Emacs 22.2
Date: Fri, 08 Aug 2008 10:04:24 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

On Fri, 08 Aug 2008 10:10:10 +0300 Eli Zaretskii <eliz@gnu.org> wrote: 

>> Date: Thu, 07 Aug 2008 23:31:31 +0200
>> From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
>> CC: 641@emacsbugs.donarmstrong.com, Eli Zaretskii <eliz@gnu.org>, 
>> tzz@lifelogs.com, bug-gnu-emacs@gnu.org
>> 
>> To make it clear what I am asking for: Isn't there an official list that 
>> we could map to, using those variables that are needed?

EZ> We need a list that shows the time zone names in all languages each
EZ> time zone can be translated to by Windows due to locale definitions.
EZ> If someone knows where to find such a list, please tell.

EZ> I'm not aware of such a list, FWIW.

Closest I could find is this chart:

http://unicode.org/cldr/data/diff/supplemental/windows_tzid.html

We could at least provide this, and if the mapping fails we could print
a message that it's an unknown string, and the user can submit a bug.
%Z could show the full Windows-provided name, which IMHO is better than
nothing.

In addition, we can attempt to guess the right value based on the
localized string and offset, e.g. Hebrew is probably Israel's time
zone.  But this is a lot of work.

Ted


reply via email to

[Prev in Thread] Current Thread [Next in Thread]