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: Kim F. Storm
Subject: Re: calendar gets wrong end for Daylight Savings Time
Date: Wed, 08 Nov 2006 10:22:25 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Richard Stallman <address@hidden>
>> Date: Tue, 07 Nov 2006 23:18:08 -0500
>> Cc: address@hidden, address@hidden, address@hidden
>> 
>> That sounds like exactly the right thing for the Emacs calendar to
>> consult.
>
> I don't think Emacs needs to consult tzdata, because on system that
> have it, the library functions which handle time, such as mktime,
> already consult that data base.  So the times you get from the library
> are already correctly taking into account the DST settings for the
> correct year.

But it's not just a matter of whether DST applies to the current time & date.

I would assume that M-x calendar must use the database directly to
find out _when_ DST starts and ends to print the calendar correctly.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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