emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: calendar gets wrong end for Daylight Savings Time


From: Glenn Morris
Subject: Re: calendar gets wrong end for Daylight Savings Time
Date: Mon, 06 Nov 2006 03:29:37 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

"T. V. Raman" wrote:

> while fixing this bug, it might be appropriate to update calendar
> for next march -- when the US switches back to daylight saving time
> in mid-March (was legistlated earlier this year)

The fact that it is _already_ using the new rules is the source of
this problem. Rather, it uses the system C library routines to find
the dates of the next daylight time transition after the present date.
So if the system zoneinfo database has been updated with the changes
for the US next year, now that Oct 29th of this year is past, the next
savings change that calendar-next-time-zone-transition finds is the
one in March 2007.

It then assumes that the information for next year applies to all
years, hence it gets it wrong for years before 2007 in the US.

Hmmm.





reply via email to

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