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

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

[debbugs-tracker] bug#641: closed (format-time-string %Z does not work,


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#641: closed (format-time-string %Z does not work, starting with Emacs 22.2)
Date: Sat, 22 Oct 2011 09:24:02 +0000

Your message dated Sat, 22 Oct 2011 11:21:57 +0200
with message-id <address@hidden>
and subject line Re: bug#9794: 24.0.90; `format-time-string' no good for %Z
has caused the debbugs.gnu.org bug report #641,
regarding format-time-string %Z does not work, starting with Emacs 22.2
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
641: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=641
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: format-time-string %Z does not work, starting with Emacs 22.2 Date: Fri, 1 Aug 2008 09:45:28 -0700
emacs -Q
M-: (format-time-string "%Z) ==> ""
M-: (format-time-string "%z) ==> "-0700"
 
The %Z string is incorrect. In my case, it should be (as it is in
Emacs 20 and Emacs 22.1): "Pacific Daylight Time".
 
This same bug appears in Emacs 23.  This is a regression from Emacs
22.1.
 

In GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600)
 of 2008-03-26 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
 
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t
 
Major mode: Help
 
Minor modes in effect:
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  view-mode: t
 





--- End Message ---
--- Begin Message --- Subject: Re: bug#9794: 24.0.90; `format-time-string' no good for %Z Date: Sat, 22 Oct 2011 11:21:57 +0200
> From: Jason Rumney <address@hidden>
> Cc: Paul Eggert <address@hidden>,  address@hidden,  address@hidden
> Date: Fri, 21 Oct 2011 23:40:20 +0800
> 
> So Paul is probably correct - we should not worry about RFC / POSIX or
> whatever compliance for %Z.

Thanks.  So, since everybody agrees, I committed as revision 106162
the changes to nt/config.nt that make current-time-zone and the
strftime's %Z format return a non-empty string on MS-Windows.


--- End Message ---

reply via email to

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