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

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

bug#7571: 23.2.90; Fix a typo in display-time-world-list


From: Leo
Subject: bug#7571: 23.2.90; Fix a typo in display-time-world-list
Date: Mon, 06 Dec 2010 12:17:33 +0000

Due to a typo in display-time-world-list, display-time-world-list will
default to legacy-style-world-list, whose time zone name nobody
understands. The patch fixes this.

commit be87b22f48bd56fd918af4d863c40a7276889fc5 (HEAD, refs/heads/leo-main)
Author: Leo <sdl.web@gmail.com>
Date:   Mon Dec 6 12:14:37 2010 +0000

    Fix a typo in display-time-world-list

        Modified lisp/time.el
diff --git a/lisp/time.el b/lisp/time.el
index 302a8c7..1865373 100644
--- a/lisp/time.el
+++ b/lisp/time.el
@@ -157,7 +157,7 @@ LABEL is a string to display as the label of that 
TIMEZONE's time."
   ;; Determine if zoneinfo style timezones are supported by testing that
   ;; America/New York and Europe/London return different timezones.
   (let (gmt nyt)
-    (set-time-zone-rule "America/New York")
+    (set-time-zone-rule "America/New_York")
     (setq nyt (format-time-string "%z"))
     (set-time-zone-rule "Europe/London")
     (setq gmt (format-time-string "%z"))






reply via email to

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