GNU bug report logs - #39001
parse-time-string fails to parse Info node's example

Previous Next

Package: emacs;

Reported by: mark skilbeck <markskilbeck <at> gmail.com>

Date: Tue, 7 Jan 2020 06:02:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#39001: closed (parse-time-string fails to parse Info node's
 example)
Date: Thu, 16 Jan 2020 01:46:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 15 Jan 2020 17:45:02 -0800
with message-id <1d6510ff-910a-8294-09a1-1b9c6f2ce5ed <at> cs.ucla.edu>
and subject line Re: parse-time-string fails to parse Info node's example
has caused the debbugs.gnu.org bug report #39001,
regarding parse-time-string fails to parse Info node's example
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
39001: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39001
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: mark skilbeck <markskilbeck <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: parse-time-string fails to parse Info node's example
Date: Mon, 6 Jan 2020 22:01:00 -0800
[Message part 3 (text/plain, inline)]
The info node (elisp) Time Parsing suggests that the string
"1998-09-12T12:21:54-0200" should be of a format that `parse-time-string`
can successfully parse. However, trying to do so produces no useful info
from parsing (it returns a list of NILs).

GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.5.0, Carbon Version 158
AppKit 1671.4) of 2019-08-29
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: mark skilbeck <markskilbeck <at> gmail.com>
Cc: 39001-done <at> debbugs.gnu.org
Subject: Re: parse-time-string fails to parse Info node's example
Date: Wed, 15 Jan 2020 17:45:02 -0800
[Message part 6 (text/plain, inline)]
Thanks for the bug report. I fixed the code so that it matches the 
documentation by installing the attached patches into Emacs master. The 
first patch is the fix, the second is merely refactoring.
[0001-parse-time-string-now-parses-ISO-8601-format-strings.patch (text/x-patch, attachment)]
[0002-Refactor-parse-time-string.patch (text/x-patch, attachment)]

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

Previous Next


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