mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-23 10:34:07 +00:00
Default DST to "undecided" in decoded-time-set-defaults
* lisp/calendar/time-date.el (decoded-time-set-defaults): When we don't have a zone or a DST, set DST to "undecided".
This commit is contained in:
parent
e82ae1db3c
commit
4dcb692de0
@ -530,6 +530,12 @@ TIME is modified and returned."
|
||||
(setf (decoded-time-month time) 1))
|
||||
(unless (decoded-time-year time)
|
||||
(setf (decoded-time-year time) 0))
|
||||
|
||||
;; When we don't have a time zone and we don't have a DST, then mark
|
||||
;; it as unknown.
|
||||
(when (and (not (decoded-time-zone time))
|
||||
(not (decoded-time-dst time)))
|
||||
(setf (decoded-time-dst time) -1))
|
||||
time)
|
||||
|
||||
(provide 'time-date)
|
||||
|
Loading…
Reference in New Issue
Block a user