[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: |
Sun, 19 Dec 2010 07:30:51 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (Mac OS X 10.6.5) |
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