GNU bug report logs -
#32443
27.0.50; encode-time bug
Previous Next
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
Live System User <nyc4bos <at> aol.com> writes:
> Robert Pluim <rpluim <at> gmail.com> writes:
>
>> Glenn Morris <rgm <at> gnu.org> writes:
>>
>>> Live System User wrote:
>>>
>>>> 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)
>>>
>>> I can't reproduce this.
>>
>> Iʼve seen this, but only once with a time string of "Tue, 28 Aug 2018 13:16:54
>> +0200". Iʼve not been able to reproduce in 'emacs -Q'.
>
> I get the same erroreous output with "emacs -Q" with your date
> as well:
>
>
> (parse-time-string "Tue, 14 Aug 2018 09:14:11 +0400")
> (nil nil nil 14 8 2018 2 nil nil)
>
>
> (parse-time-string "Tue, 28 Aug 2018 13:16:54 +0200")
> (nil nil nil 28 8 2018 2 nil nil)
>
> (parse-time-string "Wed, 29 Aug 2018 11:15:22 -0400")
> (nil nil nil 29 8 2018 3 nil nil)
None of those fail for me. Could you tell us which revision youʼre
currently using? Perhaps this got fixed as a side effect of some other
change, in which case I can bisect it.
Otherwise, since youʼre the only one who can reproduce it, could you
do 'edebug-defun' on 'parse-time-string' and step through it? That
might give us a better idea of what's going wrong.
Thanks
Robert
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.