unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#641: format-time-string %Z does not work, starting with Emacs 22.2
@ 2008-08-01 16:45 Drew Adams
  0 siblings, 0 replies; 46+ messages in thread
From: Drew Adams @ 2008-08-01 16:45 UTC (permalink / raw)
  To: bug-gnu-emacs

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
 








^ permalink raw reply	[flat|nested] 46+ messages in thread
* bug#641: format-time-string %Z does not work, starting with Emacs 22.2
@ 2008-08-04 21:24 martin rudalics
  2008-08-04 22:07 ` Drew Adams
  0 siblings, 1 reply; 46+ messages in thread
From: martin rudalics @ 2008-08-04 21:24 UTC (permalink / raw)
  To: 641

 > 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.

See

2007-06-07  Jason Rumney  <jasonr@gnu.org>

	* s/ms-w32.h: Don't define HAVE_TZNAME.

	* editfns.c (Fcurrent_time_zone): Remove hack for Japanese Windows.

and the preceding discussion starting with

http://lists.gnu.org/archive/html/emacs-devel/2007-06/msg00334.html

martin







^ permalink raw reply	[flat|nested] 46+ messages in thread

end of thread, other threads:[~2008-08-09 14:13 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-01 16:45 bug#641: format-time-string %Z does not work, starting with Emacs 22.2 Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2008-08-04 21:24 martin rudalics
2008-08-04 22:07 ` Drew Adams
2008-08-05  6:28   ` martin rudalics
2008-08-05 18:34   ` Eli Zaretskii
2008-08-05 23:54     ` Drew Adams
2008-08-06  3:22       ` Eli Zaretskii
2008-08-06  5:40         ` Drew Adams
2008-08-06 18:53           ` Eli Zaretskii
2008-08-06 19:48             ` Drew Adams
2008-08-06 20:34               ` Juanma Barranquero
2008-08-06 23:05                 ` Drew Adams
2008-08-07  3:16                   ` Juanma Barranquero
     [not found]           ` <mailman.15951.1218049658.18990.bug-gnu-emacs@gnu.org>
2008-08-06 19:53             ` Ted Zlatanov
2008-08-06 21:20               ` Eli Zaretskii
2008-08-06 21:35               ` Juanma Barranquero
     [not found]               ` <mailman.15962.1218059257.18990.bug-gnu-emacs@gnu.org>
2008-08-07 13:20                 ` Ted Zlatanov
2008-08-07 18:20                   ` Eli Zaretskii
2008-08-07 18:51                     ` Lennart Borgman (gmail)
2008-08-07 18:59                       ` Eli Zaretskii
2008-08-07 20:14                         ` Lennart Borgman (gmail)
2008-08-07 20:29                           ` Eli Zaretskii
2008-08-07 20:36                             ` Lennart Borgman (gmail)
2008-08-07 20:58                               ` Juanma Barranquero
2008-08-07 21:04                                 ` Lennart Borgman (gmail)
2008-08-07 21:13                                   ` Juanma Barranquero
2008-08-07 21:31                                     ` Lennart Borgman (gmail)
2008-08-08  7:10                                       ` Eli Zaretskii
     [not found]                                       ` <mailman.16075.1218180793.18990.bug-gnu-emacs@gnu.org>
2008-08-08 15:04                                         ` Ted Zlatanov
2008-08-08 15:57                                           ` Drew Adams
2008-08-08 17:22                                             ` Eli Zaretskii
2008-08-08 17:27                                               ` Drew Adams
2008-08-09  1:00                                                 ` OFFICE ZERO
2008-08-09 14:13                                                 ` OFFICE ZERO
2008-08-08 18:46                                               ` Stefan Monnier
2008-08-09  0:59                                               ` OFFICE ZERO
2008-08-08 18:47                                             ` Andreas Schwab
2008-08-09  1:01                                               ` OFFICE ZERO
2008-08-09 14:13                                               ` OFFICE ZERO
2008-08-09  1:01                                             ` OFFICE ZERO
2008-08-08 17:16                                           ` Eli Zaretskii
2008-08-09 14:12                                             ` OFFICE ZERO
2008-08-08  7:21                                   ` Eli Zaretskii
2008-08-07 21:47                                 ` Drew Adams
2008-08-07 21:20                         ` martin rudalics
2008-08-08  7:17                           ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).