[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Daylight Savings time problem
From: |
Eli Zaretskii |
Subject: |
Re: Daylight Savings time problem |
Date: |
Tue, 3 Apr 2001 11:06:25 +0200 (IST) |
On Mon, 2 Apr 2001 nick_brosnahan@intuit.com wrote:
> Today is 2001/04/02. I am in the Pacific Time Zone.
> I am running Windows 2000 and the system time control panel says it's PDT.
> Unfortunately, emacs doesn't think that PDT starts until next sunday
> (2001/04/08).
> It appears that the built-in function current-time-zone is returning the
> wrong value.
> The output from M-x eval-expression with "(current-time-zone)" displays this:
>
> (-28800 "Pacific Standard Time")
>
> By changing my clock to next sunday, I get this:
>
> (-25200 "Pacific Daylight Time")
>
> As a result, the clock in emacs is wrong, and my compiles complain at me
> constantly.
This appears to be a known Windows bug, see:
http://msdn.microsoft.com/visualc/headlines/2001.asp
As a work-around, I suggest to set your time zone in the regional
settings to something like GMT-9 instead of PST. This is a temporary
setting, since the bug should go away next Sunday.