aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHong Xu2016-12-24 14:35:12 +0200
committerEli Zaretskii2016-12-24 14:35:12 +0200
commit25c9cb77b4346c9912c995ca3a63fc7ab424795e (patch)
tree1b450c512afd6cbd8cbd3519797369c16accb1cb /src
parente36a3882c338765a9ddfebfc160e5a298933f233 (diff)
downloademacs-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 'src')
-rw-r--r--src/editfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 6ea8cbaf5e4..ccc78e12758 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -2136,7 +2136,7 @@ format_time_string (char const *format, ptrdiff_t formatlen,
2136 2136
2137DEFUN ("decode-time", Fdecode_time, Sdecode_time, 0, 2, 0, 2137DEFUN ("decode-time", Fdecode_time, Sdecode_time, 0, 2, 0,
2138 doc: /* Decode a time value as (SEC MINUTE HOUR DAY MONTH YEAR DOW DST UTCOFF). 2138 doc: /* Decode a time value as (SEC MINUTE HOUR DAY MONTH YEAR DOW DST UTCOFF).
2139The optional SPECIFIED-TIME should be a list of (HIGH LOW . IGNORED), 2139The optional TIME should be a list of (HIGH LOW . IGNORED),
2140as from `current-time' and `file-attributes', or nil to use the 2140as from `current-time' and `file-attributes', or nil to use the
2141current time. It can also be a single integer number of seconds since 2141current time. It can also be a single integer number of seconds since
2142the epoch. The obsolete form (HIGH . LOW) is also still accepted. 2142the epoch. The obsolete form (HIGH . LOW) is also still accepted.