GNU bug report logs - #18176
24.4.50; Errors on dates far in the future in url.el

Previous Next

Package: emacs;

Reported by: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Date: Sat, 2 Aug 2014 23:20:02 UTC

Severity: normal

Found in version 24.4.50

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: Glenn Morris <rgm <at> gnu.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 18176 <at> debbugs.gnu.org
Subject: bug#18176: 24.4.50; Errors on dates far in the future in url.el
Date: Sat, 02 Aug 2014 22:22:09 -0400
Lars Magne Ingebrigtsen wrote:

>   date-to-time("31-Dec-9999 23:59:59.00 GMT")
[...]
> date-to-time should understand dates after 2037. 

I think it's actually 4038, due to this element of parse-time-rules:

((5) (100 4038))

Simply change that to

((5) (100 9999))

and it seems to work; but I did not check if that breaks anything else.




This bug report was last modified 10 years and 294 days ago.

Previous Next


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