Do not limit current-time-string to years 1000..9999.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 3 May 2012 20:04:29 +0000 (13:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 3 May 2012 20:04:29 +0000 (13:04 -0700)
commitab0fa4e4ba0b2b93a9ef007842523d8d5f9eb758
tree9adfb1831b29c6f4d68b5d1ea6de54f05617bc6a
parentf7ae6719123ad5f4f505290621810318d9ee5484
Do not limit current-time-string to years 1000..9999.

* src/editfns.c (TM_YEAR_IN_ASCTIME_RANGE): Remove.
(Fcurrent_time_string): Support any year that is supported by the
underlying localtime representation.  Don't use asctime, as it
has undefined behavior for years outside the range -999..9999.
* doc/lispref/os.texi (Time of Day): Do not limit current-time-string
to years 1000..9999.
* etc/NEWS: Do not limit current-time-string to years 1000..9999.
doc/lispref/ChangeLog
doc/lispref/os.texi
etc/ChangeLog
etc/NEWS
src/ChangeLog
src/editfns.c