diff options
| author | Hong Xu | 2016-12-24 14:35:12 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-12-24 14:35:12 +0200 |
| commit | 25c9cb77b4346c9912c995ca3a63fc7ab424795e (patch) | |
| tree | 1b450c512afd6cbd8cbd3519797369c16accb1cb /doc | |
| parent | e36a3882c338765a9ddfebfc160e5a298933f233 (diff) | |
| download | emacs-25c9cb77b4346c9912c995ca3a63fc7ab424795e.tar.gz 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')
| -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: | |||
| 1536 | (date-to-time "Sat Sep 12 12:21:54 1998 +0200") | 1536 | (date-to-time "Sat Sep 12 12:21:54 1998 +0200") |
| 1537 | @result{} (13818 19266) | 1537 | @result{} (13818 19266) |
| 1538 | 1538 | ||
| 1539 | (parse-iso8601-time-string "1998-09-12T12:21:54+0200") | ||
| 1540 | @result{} (13818 19266) | ||
| 1541 | |||
| 1539 | (float-time '(13818 19266)) | 1542 | (float-time '(13818 19266)) |
| 1540 | @result{} 905595714.0 | 1543 | @result{} 905595714.0 |
| 1541 | 1544 | ||