From: Jambunathan K <kjambunathan@gmail.com>
To: 11807@debbugs.gnu.org
Subject: bug#11807: M-x display-time-world & EDT/DST
Date: Thu, 28 Jun 2012 13:35:08 +0530 [thread overview]
Message-ID: <81lij7lv4b.fsf@gmail.com> (raw)
Bug confirmed by John Wiegley. See
http://lists.gnu.org/archive/html/help-gnu-emacs/2012-06/msg00476.html
,---- M-x display-time-world
| Seattle Wednesday 27 June 01:24 PDT
| New York Wednesday 27 June 04:24 EDT <=== Off by 1 hr
| London Wednesday 27 June 09:24 BST
| Paris Wednesday 27 June 10:24 CDT
| Bangalore Wednesday 27 June 14:54 IST <=== Local Timezone
| Tokyo Wednesday 27 June 18:24 JST
`----
,---- http://www.timeanddate.com/worldclock/city.html?n=179
|
| Current Time|Wednesday, 27 June 2012, 05:27:42 EDT <=== Time now
|
| | Standard time zone: | UTC/GMT -5 hours |
| | Daylight saving time: | +1 hour |
| | Current time zone offset: | UTC/GMT -4 hours |
| | Time zone abbreviation: | EDT - Eastern Daylight Time |
`----
As you can see, the time reported by Emacs is off by 1 hr. Is there a
way to fix it?
Also I could take some help with interpreting the value of this
variable. Should display-time-world be documented in Emacs reference
manual?
,----[ C-h v display-time-world-list RET ]
| display-time-world-list is a variable defined in `time.el'.
| Its value is (("PST8PDT" "Seattle")
| ("EST5EDT" "New York")
| ("GMT0BST" "London")
| ("CET-1CDT" "Paris")
| ("IST-5:30" "Bangalore") <=== Why this ''minus''. Isn't IST = GMT+5:30?
| ("JST-9" "Tokyo"))
|
|
| Documentation:
| Alist of time zones and places for `display-time-world' to display.
| Each element has the form (TIMEZONE LABEL).
| TIMEZONE should be in a format supported by your system. See the
| documentation of `zoneinfo-style-world-list' and
| `legacy-style-world-list' for two widely used formats. LABEL is
| a string to display as the label of that TIMEZONE's time.
|
| You can customize this variable.
|
| This variable was introduced, or its default value was changed, in
| version 23.1 of Emacs.
|
| [back]
`----
ps: I am really interested in local Ottawa time (which is apparently
same as NY's throughout the year)
next reply other threads:[~2012-06-28 8:05 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-28 8:05 Jambunathan K [this message]
2002-01-01 0:30 ` bug#11807: M-x display-time-world & EDT/DST Jambunathan K
2012-06-28 8:54 ` Andreas Schwab
2012-06-28 9:02 ` Jambunathan K
2012-06-28 9:39 ` Andreas Schwab
2012-06-28 10:00 ` Jambunathan K
2012-06-28 10:34 ` Andreas Schwab
2012-06-28 10:50 ` Jambunathan K
2012-06-28 12:18 ` Andreas Schwab
2012-06-28 13:54 ` Jambunathan K
2012-06-28 14:38 ` Andreas Schwab
2012-06-28 14:54 ` Jambunathan K
2012-06-28 15:37 ` Andreas Schwab
2012-06-29 9:26 ` bug#11807: (Windows XP issue?) " Jambunathan K
2012-06-29 10:31 ` Eli Zaretskii
2012-06-29 10:40 ` Jambunathan K
2012-06-30 3:37 ` Jason Rumney
2012-06-30 5:43 ` Jambunathan K
2012-06-30 6:13 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81lij7lv4b.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=11807@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).