Subject: bug#9794: 24.0.90; `format-time-string' no good for %Z

From: Eli Zaretskii <[email-masked]>
Date: Wed, 19 Oct 2011 09:47:40 +0200

> From: "Drew Adams" <[email-masked]>
> 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.