emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/iso8601 babd5b8: Mention the ISO 8601 functions


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] scratch/iso8601 babd5b8: Mention the ISO 8601 functions
Date: Sun, 7 Jul 2019 22:43:22 -0400 (EDT)

branch: scratch/iso8601
commit babd5b8b09b928423e15d827dc1d1abcf70036cc
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Mention the ISO 8601 functions
---
 doc/lispref/os.texi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index fef954e..28bffff 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]