unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7571: 23.2.90; Fix a typo in display-time-world-list
@ 2010-12-06 12:17 Leo
  2010-12-19  7:30 ` Leo
  0 siblings, 1 reply; 3+ messages in thread
From: Leo @ 2010-12-06 12:17 UTC (permalink / raw)
  To: 7571

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"))






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

* bug#7571: 23.2.90; Fix a typo in display-time-world-list
  2010-12-06 12:17 bug#7571: 23.2.90; Fix a typo in display-time-world-list Leo
@ 2010-12-19  7:30 ` Leo
  2011-03-04  5:00   ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Leo @ 2010-12-19  7:30 UTC (permalink / raw)
  To: bug-gnu-emacs; +Cc: Chong Yidong

On 2010-12-06 12:17 +0000, Leo wrote:
> 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.

The bug only exhibits itself if your local time zone is London. See the
definition of display-time-world-list which compares New York and London
time. Could someone review and install the fix? Thanks.

> 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"))

-- 
Oracle is the new evil






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

* bug#7571: 23.2.90; Fix a typo in display-time-world-list
  2010-12-19  7:30 ` Leo
@ 2011-03-04  5:00   ` Glenn Morris
  0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2011-03-04  5:00 UTC (permalink / raw)
  To: 7571-done

Version: 24.1

Applied.





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

end of thread, other threads:[~2011-03-04  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-06 12:17 bug#7571: 23.2.90; Fix a typo in display-time-world-list Leo
2010-12-19  7:30 ` Leo
2011-03-04  5:00   ` Glenn Morris

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