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


Message #15 received at 24823-done <at> debbugs.gnu.org (full text, mbox):

From: Matt Armstrong <marmstrong <at> google.com>
To: Hong Xu <hong <at> topbug.net>
Cc: 24823-done <at> debbugs.gnu.org
Subject: Re: bug#24823: 25.1.50;
 parse-time-string cannot parse ISO 8601 time string
Date: Wed, 30 Nov 2016 01:30:08 -0800
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.




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

Previous Next


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