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: Hong Xu
Subject: bug#24823: 25.1.50; parse-time-string cannot parse ISO 8601 time string
Date: Thu, 01 Dec 2016 12:58:48 -0800
User-agent: mu4e 0.9.17; emacs 25.1.90.2

On 2016-11-30 Wed 01:30 GMT-0800, Matt Armstrong <marmstrong@google.com> wrote:

> 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.

Thank you, that should have solved my problem!

Attachment: signature.asc
Description: PGP signature


reply via email to

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