[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9794: 24.0.90; `format-time-string' no good for %Z
From: |
Eli Zaretskii |
Subject: |
bug#9794: 24.0.90; `format-time-string' no good for %Z |
Date: |
Wed, 19 Oct 2011 09:47:40 +0200 |
> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Tue, 18 Oct 2011 23:44:15 -0700
>
> emacs -Q
>
> M-: (format-time-string "Started: %a %b %e %T %Y (%Z)" (current-time))
>
> For me that produces this:
>
> "Started: Tue Oct 18 23:40:28 2011 ()"
>
> The %Z doesn't work at all. This is a regression that started in Emacs
> 22. In Emacs 20 and 21 (emacs -Q) it works correctly, displaying this:
>
> "Started: Tue Oct 18 23:40:28 2011 (Pacific Daylight Time)"
>
> If Emacs 20 can pick up the name Pacific Daylight Time correctly, from
> wherever
> it gets it, then so should Emacs 24 be able to do so. No user config (e.g.
> setting env vars) should be necessary. (That doesn't preclude user config -
> the
> point is that even without it %Z should DTRT.)
This is an old bug #641, see there regarding the explanation why the
current behavior is correct.
- bug#9794: 24.0.90; `format-time-string' no good for %Z, (continued)
- bug#9794: 24.0.90; `format-time-string' no good for %Z, Paul Eggert, 2011/10/20
- bug#9794: 24.0.90; `format-time-string' no good for %Z, Eli Zaretskii, 2011/10/20
- bug#9794: 24.0.90; `format-time-string' no good for %Z, Jason Rumney, 2011/10/21
- bug#9794: 24.0.90; `format-time-string' no good for %Z, Paul Eggert, 2011/10/21
- bug#641: bug#9794: 24.0.90; `format-time-string' no good for %Z, Eli Zaretskii, 2011/10/22
- bug#9794: 24.0.90; `format-time-string' no good for %Z, Drew Adams, 2011/10/19
- bug#9794: 24.0.90; `format-time-string' no good for %Z, Eli Zaretskii, 2011/10/19
bug#9794: 24.0.90; `format-time-string' no good for %Z,
Eli Zaretskii <=