bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24823: 25.1.50; parse-time-string cannot parse ISO 8601 time string


From: Matt Armstrong
Subject: bug#24823: 25.1.50; parse-time-string cannot parse ISO 8601 time string
Date: Wed, 30 Nov 2016 01:30:08 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin)

Hong Xu <hong@topbug.net> writes:

> The function parse-time-string cannot parse ISO 8601 time string, e.g.,
> 2005-04-07T22:13:13, which is pretty ubiquitous nowadays.
> (parse-time-string 2005-04-07T22:13:13) returns a list full of nils.

Hi Hong, parse-iso8601-time-string exists and can be used to parse ISO
8601 time strings.  It falls back to RFC 2822 style strings if that
fails.  It would be nice if parse-time-string handled 8601 formt, but
this has implications for current users.  I'll tag this bug a 'wishlist'
in case others have opinions.





reply via email to

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