From: Jambunathan K <kjambunathan@gmail.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 11807@debbugs.gnu.org
Subject: bug#11807: M-x display-time-world & EDT/DST
Date: Thu, 28 Jun 2012 05:00:14 -0500 [thread overview]
Message-ID: <81k3yrn4cx.fsf@gmail.com> (raw)
In-Reply-To: <m24npv7p3e.fsf@igel.home> (Andreas Schwab's message of "Thu, 28 Jun 2012 11:39:01 +0200")
Andreas Schwab <schwab@linux-m68k.org> writes:
> Jambunathan K <kjambunathan@gmail.com> writes:
>
>> This is what I see *now.
>>
>> Seattle Thursday 28 June 00:56 PDT
>> New York Thursday 28 June 03:56 EDT <=== This is off by 1-hr.
>> London Thursday 28 June 08:56 BST
>> Paris Thursday 28 June 09:56 CDT
>> Bangalore Thursday 28 June 14:26 IST <=== Local time. This is correct
>> Tokyo Thursday 28 June 17:56 JST
>
> You are using the wrong timezone (GMT+6:30 instead of GMT+5:30).
Let me see:
M-: (getenv "TZ")
=> nil
M-: (current-time-zone)
=> (19800 "India Standard Time")
M-: (format-time-string display-time-world-time-format nil)
=> "Thursday 28 June 15:23 India Standard Time"
Here is the math for this time of the year.
IST = GMT + 5:30
NYT = GMT - 4:00
NYT = IST - 5:30 - 4:00 = IST - 9:30
and I expect to see 6:07EDT instead I am seeing 04:55 instead (adjust
for typing minutes)
M-: (setenv "TZ" "EST5EDT")
M-: (format-time-string display-time-world-time-format nil)
=> "Thursday 28 June 04:55 EDT"
next prev parent reply other threads:[~2012-06-28 10:00 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-28 8:05 bug#11807: M-x display-time-world & EDT/DST Jambunathan K
2002-01-01 0:30 ` 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 [this message]
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=81k3yrn4cx.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=11807@debbugs.gnu.org \
--cc=schwab@linux-m68k.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).