GNU bug report logs -
#641
format-time-string %Z does not work, starting with Emacs 22.2
Previous Next
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 #206 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
> Date: Thu, 07 Aug 2008 23:04:12 +0200
> From: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
> CC: 641 <at> emacsbugs.donarmstrong.com, Eli Zaretskii <eliz <at> gnu.org>,
> tzz <at> lifelogs.com, bug-gnu-emacs <at> gnu.org
>
> > You're assuming too much. Countries in the same apparent time zone do
> > not have to follow the same DST rules, for example.
>
> Yes, I surely am assuming something that is wrong ;-)
>
> Is not "+0200" the offset from the UTC standard time zone (or whatever
> it is called)?
Yes, it is, but what string would you translate +0200 to? There are
numerous time-zone names that map to the same offset at any given
time. It is impossible to use just one random time-zone name for this
translation, because tomorrow some of them will switch to +0300, while
others will not.
In other words, if the offset is all you care about, you could simply
use %z, and be done with it. This isn't the problem we are
discussing.
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.