all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Timezone change in US
Date: Mon, 12 Mar 2007 23:58:11 +0200	[thread overview]
Message-ID: <utzwqp1jg.fsf@gnu.org> (raw)
In-Reply-To: <ulki28omg.fsf@one.dot.net> (message from Chris McMahan on Mon, 12 Mar 2007 10:31:35 -0500)

> 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?

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

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

Finally, did you try to see if the time is displayed correctly in
"emacs -Q"?

> 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?

  parent reply	other threads:[~2007-03-12 21:58 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 [this message]
     [not found] ` <mailman.851.1173736718.7795.help-gnu-emacs@gnu.org>
2007-03-13 13:28   ` Chris McMahan
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=utzwqp1jg.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.