emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 433d818 2/2: Tweak recent solar.el change


From: Glenn Morris
Subject: master 433d818 2/2: Tweak recent solar.el change
Date: Wed, 12 Aug 2020 06:31:00 -0400 (EDT)

branch: master
commit 433d8184970bd2d569744155d58cde2cd4807a0a
Author: Glenn Morris <rgm@gnu.org>
Commit: Glenn Morris <rgm@gnu.org>

    Tweak recent solar.el change
    
    * lisp/calendar/solar.el (sunrise-sunset, solar-equinoxes-solstices):
    Use +0000 for "numeric" UTC, not +0100.
---
 lisp/calendar/solar.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/calendar/solar.el b/lisp/calendar/solar.el
index 85c3c48..05bb316 100644
--- a/lisp/calendar/solar.el
+++ b/lisp/calendar/solar.el
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]