• Paul Eggert's avatar
    Do not limit current-time-string to years 1000..9999. · ab0fa4e4
    Paul Eggert authored
    * 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.
    ab0fa4e4
NEWS 63.7 KB