projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd4a0c0
)
Make make-decoded-time use -1 for dst unless given
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 27 May 2022 10:38:02 +0000
(12:38 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 27 May 2022 10:38:02 +0000
(12:38 +0200)
* 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
patch
|
blob
|
history
diff --git
a/lisp/calendar/time-date.el
b/lisp/calendar/time-date.el
index ba7c48b290dc021678a83d221450d6b3291977fe..dc77a7c7e0a9feb9ab336c43d9e645b56bbe4b73 100644
(file)
--- 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))