GNU bug report logs - #39347
28.0.50; iso8601-parse can't handle all legal date values?

Previous Next

Package: emacs;

Reported by: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Date: Wed, 29 Jan 2020 21:01:02 UTC

Severity: normal

Found in version 28.0.50

Done: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 39347 <at> debbugs.gnu.org
Subject: bug#39347: 28.0.50; iso8601-parse can't handle all legal date values?
Date: Thu, 30 Jan 2020 03:05:16 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Hm...  I didn't add support for "---12T14" (that is, 14:00 on the
> twelfth)...  I didn't peruse the 2000 version of the standard
> sufficiently to see whether that was supposed to be valid or not.  My
> guess is that it was.  :-/

OK, I couldn't live with that, so I've now made this work:

(iso8601-parse "---12T14")
=> (0 0 14 12 nil nil nil -1 nil)

This'll be useful for exactly nobody.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 115 days ago.

Previous Next


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