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: Thu, 09 Nov 2006 03:46:51 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Eli Zaretskii wrote:

>> 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.
>
> It can do that, but it doesn't have to: it could alternatively pass
> the corresponding time_t value to the time routines and get the DST
> flag back as the result.  The Lisp primitives that return the current
> time or time string should support that already.

Am I totally missing the point here? The question to be answered is:
what day of the year does Daylight Saving Time start/end? This is so
it can be printed as a diary/holiday entry, eg so people know when to
change their clocks. How do I do find that date in your method?





reply via email to

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