diff options
author | Paul Eggert <eggert@twinsun.com> | 1996-10-28 03:55:59 +0000 |
---|---|---|
committer | Paul Eggert <eggert@twinsun.com> | 1996-10-28 03:55:59 +0000 |
commit | c2ed55455d36774872cbeb010bb4f119d3d70e85 (patch) | |
tree | 3f2bd2bd5fcb28edd92ff3775b45ae3ad7258f78 /lisp | |
parent | e6d50fa62cffed13e0a0ceb0c811b97bbeb7afd1 (diff) | |
download | emacs-c2ed55455d36774872cbeb010bb4f119d3d70e85.tar.gz |
(timezone-time-from-absolute): Fix off-by-one
error in current-time-origin.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/timezone.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/timezone.el b/lisp/timezone.el index 8ab2c215bde..b4619488960 100644 --- a/lisp/timezone.el +++ b/lisp/timezone.el @@ -277,7 +277,7 @@ Return a list suitable as an argument to current-time-zone, or nil if the date cannot be thus represented. DATE is the number of days elapsed since the (imaginary) Gregorian date Sunday, December 31, 1 BC." - (let* ((current-time-origin 719162) + (let* ((current-time-origin 719163) ;; (timezone-absolute-from-gregorian 1 1 1970) (days (- date current-time-origin)) (seconds-per-day (float 86400)) |