summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/lispref/os.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index fef954eb7a3..28bffffa52a 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -1568,6 +1568,16 @@ ISO 8601 string, like ``Fri, 25 Mar 2016 16:24:56 +0100'' or
less well-formed time strings as well.
@end defun
+@vindex ISO 8601 date/time strings
+@defun iso8601-parse string
+For a more strict function (that will error out upon invalid input),
+this function can be used instead. It's able to parse all variants of
+the ISO 8601 standard, including things like ``1998W45-3'' (week
+number) and ``1998-245'' (ordinal day number). To parse durations,
+there's @code{iso8601-parse-duration}, and to parse intervals, there's
+@code{iso8601-parse-interval}.
+@end defun
+
@defun format-time-string format-string &optional time zone
This function converts @var{time} (or the current time, if