emacs-diffs
[Top][All Lists]
Advanced

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

master a83e75b207: Make make-decoded-time use -1 for dst unless given


From: Lars Ingebrigtsen
Subject: master a83e75b207: Make make-decoded-time use -1 for dst unless given
Date: Fri, 27 May 2022 06:41:05 -0400 (EDT)

branch: master
commit a83e75b207c9678394e3e4c29a2dd592d06bbbe6
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Make make-decoded-time use -1 for dst unless given
    
    * lisp/calendar/time-date.el (make-decoded-time): DST -1 is the
    value for "doesn't know", not nil (bug#55635).
---
 lisp/calendar/time-date.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el
index ba7c48b290..dc77a7c7e0 100644
--- a/lisp/calendar/time-date.el
+++ b/lisp/calendar/time-date.el
@@ -552,7 +552,7 @@ changes in daylight saving time are not taken into account."
 
 (cl-defun make-decoded-time (&key second minute hour
                                   day month year
-                                  dst zone)
+                                  (dst -1) zone)
   "Return a `decoded-time' structure with only the keywords given filled out."
   (list second minute hour day month year nil dst zone))
 



reply via email to

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