GNU bug report logs - #32443
27.0.50; encode-time bug

Previous Next

Package: emacs;

Reported by: Live System User <nyc4bos <at> aol.com>

Date: Tue, 14 Aug 2018 23:13:02 UTC

Severity: normal

Tags: moreinfo

Found in version 27.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Live System User <nyc4bos <at> aol.com>
To: 32443 <at> debbugs.gnu.org
Subject: bug#32443: 27.0.50; encode-time bug
Date: Tue, 21 Aug 2018 15:52:38 -0400
Hi,

        A closer look seems to show this bug is rooted in
        a regression in (ultimately) 'parse-time-string':

           M-: (date-to-time "Tue, 06 Mar 2018 11:17:02 -0500")
           Invalid date: Tue, 06 Mar 2018 11:17:02 -0500

        When the date/time is being parsed, you erroneously get:

           M-: (parse-time-string "Tue, 06 Mar 2018 11:17:02 -0500")
           (nil nil nil 6 3 2018 2 nil nil)

        With Emacs 26.1, you get:

           (2 17 11 6 3 2018 2 nil -18000)

        Thanks.




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

Previous Next


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