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: Eli Zaretskii <eliz <at> gnu.org>
To: Ted Zlatanov <tzz <at> lifelogs.com>
Cc: bug-gnu-emacs <at> gnu.org
Subject: bug#641: format-time-string %Z does not work,	starting with Emacs 22.2
Date: Thu, 07 Aug 2008 21:20:33 +0300
> 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.





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

Previous Next


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