1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00
emacs/lisp/calendar
Paul Eggert 6bc457fea5 (calendar-time-zone-daylight-rules): Scan through the
next few years until at most one rule remains; if none remain, then
just use the first candidate rule; it's wrong in general, but it's
right for at least one year.  This is a better heuristic in case the
underlying time zone implementation has bugs (which is all too
common).  If possible, don't convert back and forth between gregorian
and absolute; this speeds things up noticeably.  This uses the new
calendar-nth-named-absday function.

(calendar-current-time-zone): Some locales start DST at a different
time of day than they end; allow for this by yielding both times.  The
performance speedups in calendar.el are great enough that we now no
longer need the "Checking time zone data..." message.  If
current-time-zone yields nil, don't bother with
calendar-next-time-zone-transition.  Use clearer names for local vars.

(calendar-time-zone, calendar-daylight-time-offset,
calendar-{standard,daylight}-time-zone-name,
calendar-daylight-savings-{starts,ends}): Default to US Eastern rules
for information that is not available.

(calendar-daylight-savings-{starts,ends}-time): New vars, replacing
calendar-daylight-savings-switchover-time, to support locales that
start DST at a different time of day than they end.

(calendar-absolute-from-time):
Fix typo by interchanging floor and mod.
1993-08-28 04:14:25 +00:00
..
appt.el entered into RCS 1992-08-12 12:50:10 +00:00
cal-dst.el (calendar-time-zone-daylight-rules): Scan through the 1993-08-28 04:14:25 +00:00
cal-french.el * holidays.el: Update reference to the papers in S-P&E. 1993-05-22 00:24:21 +00:00
cal-mayan.el (calendar-/, calendar-%): Remove, since floor and mod 1993-08-10 04:14:17 +00:00
calendar.el (solar-holidays): Use new 1993-08-28 04:14:25 +00:00
holidays.el * holidays.el (calendar-holiday-function-fixed, 1993-06-22 03:24:23 +00:00
lunar.el solar-mod -> mod 1993-08-10 04:14:17 +00:00
solar.el (solar-time-string): 1993-08-28 04:14:25 +00:00