diff options
author | Hong Xu <hong@topbug.net> | 2016-12-24 14:35:12 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-12-24 14:35:12 +0200 |
commit | 25c9cb77b4346c9912c995ca3a63fc7ab424795e (patch) | |
tree | 1b450c512afd6cbd8cbd3519797369c16accb1cb /doc/misc | |
parent | e36a3882c338765a9ddfebfc160e5a298933f233 (diff) | |
download | emacs-25c9cb77b4346c9912c995ca3a63fc7ab424795e.tar.gz emacs-25c9cb77b4346c9912c995ca3a63fc7ab424795e.tar.bz2 emacs-25c9cb77b4346c9912c995ca3a63fc7ab424795e.zip |
Fix timezone detection of parse-iso8601-time-string
* parse-time.el (parse-iso8601-time-string): Fix timezone
parsing. Add a doc string. (Bug#25086)
* editfns.c (Fdecode-time): Doc fix.
* emacs-mime.texi (time-date): Add an example for
parse-iso8601-time-string.
* parse-time-tests.el (parse-time-tests): Add tests for
parse-iso8601-time-string.
Diffstat (limited to 'doc/misc')
-rw-r--r-- | doc/misc/emacs-mime.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/misc/emacs-mime.texi b/doc/misc/emacs-mime.texi index 2b935870dae..9389435faf1 100644 --- a/doc/misc/emacs-mime.texi +++ b/doc/misc/emacs-mime.texi @@ -1536,6 +1536,9 @@ Here's a bunch of time/date/second/day examples: (date-to-time "Sat Sep 12 12:21:54 1998 +0200") @result{} (13818 19266) +(parse-iso8601-time-string "1998-09-12T12:21:54+0200") +@result{} (13818 19266) + (float-time '(13818 19266)) @result{} 905595714.0 |