GNU bug report logs - #24823
25.1.50; parse-time-string cannot parse ISO 8601 time string

Previous Next

Package: emacs;

Reported by: Hong Xu <hong <at> topbug.net>

Date: Sun, 30 Oct 2016 07:34:02 UTC

Severity: wishlist

Found in version 25.1.50

Done: Matt Armstrong <marmstrong <at> google.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Hong Xu <hong <at> topbug.net>
To: Matt Armstrong <marmstrong <at> google.com>
Cc: 24823-done <at> debbugs.gnu.org
Subject: bug#24823: 25.1.50; parse-time-string cannot parse ISO 8601 time string
Date: Thu, 01 Dec 2016 12:58:48 -0800
[Message part 1 (text/plain, inline)]
On 2016-11-30 Wed 01:30 GMT-0800, Matt Armstrong <marmstrong <at> google.com> wrote:

> Hong Xu <hong <at> 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!
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 8 years and 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.