[Top][All Lists]
[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.
- calendar gets wrong end for Daylight Savings Time, Eric Hanchrow, 2006/11/05
- calendar gets wrong end for Daylight Savings Time, T. V. Raman, 2006/11/05
- Re: calendar gets wrong end for Daylight Savings Time,
Glenn Morris <=
- Re: calendar gets wrong end for Daylight Savings Time, Richard Stallman, 2006/11/06
- Re: calendar gets wrong end for Daylight Savings Time, Glenn Morris, 2006/11/06
- Re: calendar gets wrong end for Daylight Savings Time, James Cloos, 2006/11/06
- Re: calendar gets wrong end for Daylight Savings Time, Richard Stallman, 2006/11/07
- Re: calendar gets wrong end for Daylight Savings Time, Eli Zaretskii, 2006/11/07
- Re: calendar gets wrong end for Daylight Savings Time, Kim F. Storm, 2006/11/08
- Re: calendar gets wrong end for Daylight Savings Time, Richard Stallman, 2006/11/08
- Re: calendar gets wrong end for Daylight Savings Time, Glenn Morris, 2006/11/08
- Re: calendar gets wrong end for Daylight Savings Time, James Cloos, 2006/11/09
- Re: calendar gets wrong end for Daylight Savings Time, Glenn Morris, 2006/11/09