]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak recent solar.el change
authorGlenn Morris <rgm@gnu.org>
Wed, 12 Aug 2020 10:29:51 +0000 (11:29 +0100)
committerGlenn Morris <rgm@gnu.org>
Wed, 12 Aug 2020 10:30:16 +0000 (11:30 +0100)
* lisp/calendar/solar.el (sunrise-sunset, solar-equinoxes-solstices):
Use +0000 for "numeric" UTC, not +0100.

lisp/calendar/solar.el

index 85c3c481d39a6fc2d8d9e1292dda0f41b9d14671..05bb3164e129c579ea3fa47494cc1e4f5176dbea 100644 (file)
@@ -841,7 +841,7 @@ This function is suitable for execution in an init file."
           (if (< arg 16) calendar-standard-time-zone-name
             (cond ((zerop calendar-time-zone)
                    (if (eq calendar-time-zone-style 'numeric)
-                       "+0100" "UTC"))
+                       "+0000" "UTC"))
                   ((< calendar-time-zone 0)
                    (format "UTC%dmin" calendar-time-zone))
                   (t  (format "UTC+%dmin" calendar-time-zone)))))
@@ -1016,7 +1016,7 @@ Requires floating point."
          (calendar-standard-time-zone-name
           (cond
            (calendar-time-zone calendar-standard-time-zone-name)
-           ((eq calendar-time-zone-style 'numeric) "+0100")
+           ((eq calendar-time-zone-style 'numeric) "+0000")
            (t "UTC")))
          (calendar-daylight-savings-starts
           (if calendar-time-zone calendar-daylight-savings-starts))