From: Paul Eggert Date: Mon, 28 Oct 1996 03:55:59 +0000 (+0000) Subject: (timezone-time-from-absolute): Fix off-by-one X-Git-Tag: emacs-20.1~3468 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=db853edc0bfa3113f0c45284f448e3f57da82591;p=emacs.git (timezone-time-from-absolute): Fix off-by-one error in current-time-origin. --- 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))