diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-06-13 14:25:58 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-06-13 14:27:28 -0700 |
commit | 5678829a62752eb332caef3abebeb64cb0722708 (patch) | |
tree | a11bfe8d924a1e6e074983f78a295d3829980862 /lisp/calendar/time-date.el | |
parent | 24b2cc177acd47fdac15db1fa73afbc412eb1e0a (diff) | |
download | emacs-5678829a62752eb332caef3abebeb64cb0722708.tar.gz |
Default decoded-time dst slot to -1
* lisp/simple.el (decoded-time): Default dst slot to -1.
Improve related doc strings.
Diffstat (limited to 'lisp/calendar/time-date.el')
-rw-r--r-- | lisp/calendar/time-date.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el index 40374c3bb4e..d19134db832 100644 --- a/lisp/calendar/time-date.el +++ b/lisp/calendar/time-date.el @@ -557,7 +557,8 @@ changes in daylight saving time are not taken into account." (list second minute hour day month year nil dst zone)) (defun decoded-time-set-defaults (time &optional default-zone) - "Set any nil values in `decoded-time' TIME to default values. + "Set most nil values in `decoded-time' TIME to default values. +This can set TIME's year, month, day, hour, minute and second. The default value is based on January 1st, 1970 at midnight. This year is used to guarantee portability; see Info node `(elisp) Time of Day'. |