Commit b716bea7 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Add comments and doc strings

parent dfba918c
Pipeline #2306 failed with stage
in 53 minutes and 11 seconds
......@@ -21,6 +21,14 @@
;;; Commentary:
;; For a publicly available version of the standards document, see:
;; http://www.loc.gov/standards/datetime/iso-tc154-wg5_n0038_iso_wd_8601-1_2016-02-16.pdf
;; The Wikipedia page on the standard is also informative:
;; https://en.wikipedia.org/wiki/ISO_8601
;;; Code:
(require 'time-date)
......
......@@ -1326,6 +1326,12 @@ the TZ environment variable. It can also be a list (as from
`current-time-zone') or an integer (the UTC offset in seconds) applied
without consideration for daylight saving time.
To access (or alter) the elements in the time value, the
`decoded-time-second', `decoded-time-minute', `decoded-time-hour',
`decoded-time-day', `decoded-time-month', `decoded-time-year',
`decoded-time-weekday', `decoded-time-dst' and `decoded-time-zone'
accessors can be used.
The list has the following nine members: SEC is an integer between 0
and 60; SEC is 60 for a leap second, which only some operating systems
support. MINUTE is an integer between 0 and 59. HOUR is an integer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment