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

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

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


From: Eli Zaretskii
Subject: bug#641: format-time-string %Z does not work, starting with Emacs 22.2
Date: Fri, 08 Aug 2008 10:21:08 +0300

> Date: Thu, 07 Aug 2008 23:04:12 +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
> 
> > 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.







reply via email to

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