summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-06-10 01:32:55 +0000
committerGlenn Morris <rgm@gnu.org>2009-06-10 01:32:55 +0000
commitb27c3bc6ec03f081147746a65e05fb5393a91dc9 (patch)
tree82fcd5da465f32cc3dec03a090d0155d858fd930
parent9903d1e69c79a0260a2747206e48e44b862b9ac1 (diff)
downloademacs-b27c3bc6ec03f081147746a65e05fb5393a91dc9.tar.gz
(calendar-time-zone-daylight-rules): Fix typo in 2008-04-02 change.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/calendar/cal-dst.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cfab7c2065e..a4d04659aad 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-10 Glenn Morris <rgm@gnu.org>
+
+ * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
+ Fix typo in 2008-04-02 change.
+
2009-06-10 Kenichi Handa <handa@m17n.org>
* composite.el (compose-gstring-for-terminal): For zero-width
diff --git a/lisp/calendar/cal-dst.el b/lisp/calendar/cal-dst.el
index 1478a6ca29d..0bcb61b4d42 100644
--- a/lisp/calendar/cal-dst.el
+++ b/lisp/calendar/cal-dst.el
@@ -229,7 +229,7 @@ The result has the proper form for `calendar-daylight-savings-starts'."
(setq date (cond ((eq (car rule) 'calendar-nth-named-day)
(eval (cons 'calendar-nth-named-absday (cdr rule))))
((eq (car rule) 'calendar-gregorian-from-absolute)
- (eval (cdr rule)))
+ (eval (cadr rule)))
(t (calendar-absolute-from-gregorian (eval rule)))))
(or (equal (current-time-zone
(calendar-time-from-absolute date prevday-sec))