summaryrefslogtreecommitdiff
path: root/lisp/calendar/time-date.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-05-27 12:38:02 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-05-27 12:38:02 +0200
commita83e75b207c9678394e3e4c29a2dd592d06bbbe6 (patch)
tree0f903cc8a588ec054582e7ec9d65b93ef79bc4d9 /lisp/calendar/time-date.el
parentfd4a0c022b7406b9d2a947937600e34e5cccb9bf (diff)
downloademacs-a83e75b207c9678394e3e4c29a2dd592d06bbbe6.tar.gz
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).
Diffstat (limited to 'lisp/calendar/time-date.el')
-rw-r--r--lisp/calendar/time-date.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el
index ba7c48b290d..dc77a7c7e0a 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))