[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs and daylight savings time.

From: Kenneth E. Fisler
Subject: Re: emacs and daylight savings time.
Date: Wed, 4 Apr 2001 11:22:44 -0400

I should have said also, that the DOS "DATE" command yeilds the correct time and
that the time in the Task Bar Tray is correct also.  Maybe these have cludges
written in to compensate.  We'll see Sunday.

Thanks, Eli,

Eli Zaretskii <address@hidden> on 04/04/2001 10:00:53 AM

To:   Kenneth E. Fisler/CLE/address@hidden
cc:   address@hidden

Subject:  Re: emacs and daylight savings time.

On Wed, 4 Apr 2001, Kenneth E. Fisler wrote:

> Running:
>      emacs v.20.3.1 (i386-*-nt4.0)
>      on MS95
> to get the correct time I use something like
> (format-time-string "%-I:%M %p %Z = %z")
> but it returns the wrong time (just since the change to daylight savings),
> 8:26 AM EST = -0500
> when it should return
> 9:26 AM EDT = -0400

This is a Windows bug which will disappear in a few days.  See:

> I put the following in my C:\.emacs:
> (setq TZ "EST5EDT")

It should be (setenv "TZ" "EST5EDT").  But that won't help, as the
problem is in the Windows function which computes the date when the DST
becomes in effect.  Try setting your timezone to something like GMT-4
instead, maybe it will help.  Or just wait until the next Sunday.

(The _really_ outrageous thing is that MS knows about this since 1999.)

Help-gnu-emacs mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]