changeset 16476:0bf8dab67f91

(timezone-time-from-absolute): Fix off-by-one error in current-time-origin.
author Paul Eggert <eggert@twinsun.com>
date Mon, 28 Oct 1996 03:55:59 +0000
parents 2602c284eb11
children 590593175cc7
files lisp/timezone.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/timezone.el	Sat Oct 26 18:16:50 1996 +0000
+++ b/lisp/timezone.el	Mon Oct 28 03:55:59 1996 +0000
@@ -277,7 +277,7 @@
 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))