From: Chris McMahan <first_initiallastname@one.dot.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Timezone change in US
Date: Tue, 13 Mar 2007 08:28:59 -0500 [thread overview]
Message-ID: <uabyh1dd0.fsf@one.dot.net> (raw)
In-Reply-To: mailman.851.1173736718.7795.help-gnu-emacs@gnu.org
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Chris McMahan <first_initiallastname@one.dot.net>
>> Date: Mon, 12 Mar 2007 10:31:35 -0500
>>
>> Now that the US has shifted into Daylight Savings, I've discovered
>> that emacs is still displaying DST in the modeline.
>
> Do you mean that the time displayed in the mode line is off by one
> hour? Or do you mean something else?
Yes, the time displayed in the modeline is off by one hour. It still
reflects the time before the change to Daylight Savings Time.
> If the time is off by one hour, do you see the correct time in the
> lower-right corner of the task bar (in the system tray)?
All other clocks (including the clock that my shell prompt displays)
are correct. I launch emacs from the tcsh shell as well, so if it's
getting the time from there then it should be correct.
>> I've possibly tracked the problem to an incorrect value returned by
>> the function current-time-zone, which is defined in the file
>> editfns.c. It is returning a value of -18000 EST, but it should be
>> -14400 EDT. This is defined in the file editfns.c
>
> Does it help to switch to another time zone via Control Panel
> (including clicking Apply), then switch back to your correct time
> zone? Also, make sure the "Automatically adjust clock for daylight
> savings time" checkbox is checked. You don't need to reboot Windows
> XP for that, btw, the effect should be visible as soon as you click
> Apply in the Control Panel's "Date and Time Properties".
A great suggestion, but alas to no avail. I do have the system set up
to automatically adjust for DST as well.
> Finally, did you try to see if the time is displayed correctly in
> "emacs -Q"?
Another great idea. The time is still off by 1 hour, however.
>> Does anybody have a patch for this, or is there something simple and
>> obvious I'm missing.
>
> It works for me without any patches, although not in the US. How
> (with what version of which compiler) was your Emacs compiled?
I compiled using the latest version of MinGW on 5 March 07
GNU Emacs 22.0.95.1 (i386-mingw-nt5.1.2600) of 2007-03-05 on HY56D61
- Chris
--
(. .)
=ooO=(_)=Ooo=====================================
Chris McMahan | first_initiallastname@one.dot.net
=================================================
next prev parent reply other threads:[~2007-03-13 13:28 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-12 15:31 Timezone change in US Chris McMahan
2007-03-12 16:58 ` Maarten Bergvelt
2007-03-12 17:01 ` Chris McMahan
2007-03-12 21:58 ` Eli Zaretskii
[not found] ` <mailman.851.1173736718.7795.help-gnu-emacs@gnu.org>
2007-03-13 13:28 ` Chris McMahan [this message]
2007-03-13 16:48 ` James Cloos
2007-03-13 21:12 ` Eli Zaretskii
2007-03-14 11:42 ` James Cloos
2007-03-14 18:52 ` Eli Zaretskii
[not found] ` <mailman.916.1173872744.7795.help-gnu-emacs@gnu.org>
2007-03-14 12:49 ` Chris McMahan
2007-03-14 13:22 ` Chris McMahan
2007-03-14 19:02 ` Eli Zaretskii
[not found] ` <mailman.936.1173898991.7795.help-gnu-emacs@gnu.org>
2007-03-15 14:37 ` Chris McMahan
2007-03-15 20:10 ` Eli Zaretskii
[not found] ` <mailman.971.1173989456.7795.help-gnu-emacs@gnu.org>
2007-03-16 12:25 ` Chris McMahan
2007-03-16 13:11 ` Eli Zaretskii
2007-03-16 13:58 ` Stefan Monnier
2007-03-14 18:58 ` Eli Zaretskii
2007-03-13 21:05 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uabyh1dd0.fsf@one.dot.net \
--to=first_initiallastname@one.dot.net \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.