diff options
| author | Paul Eggert | 2012-05-03 13:04:29 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-05-03 13:04:29 -0700 |
| commit | ab0fa4e4ba0b2b93a9ef007842523d8d5f9eb758 (patch) | |
| tree | 9adfb1831b29c6f4d68b5d1ea6de54f05617bc6a /etc/NEWS | |
| parent | f7ae6719123ad5f4f505290621810318d9ee5484 (diff) | |
| download | emacs-ab0fa4e4ba0b2b93a9ef007842523d8d5f9eb758.tar.gz emacs-ab0fa4e4ba0b2b93a9ef007842523d8d5f9eb758.zip | |
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.
Diffstat (limited to 'etc/NEWS')
| -rw-r--r-- | etc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -197,6 +197,12 @@ in the presence of quoting, such as file completion in shell buffers. | |||
| 197 | 197 | ||
| 198 | *** New function `completion-table-subvert' to use an existing completion | 198 | *** New function `completion-table-subvert' to use an existing completion |
| 199 | table, but with a different prefix. | 199 | table, but with a different prefix. |
| 200 | |||
| 201 | ** Time | ||
| 202 | |||
| 203 | *** `current-time-string' no longer requires that its argument's year | ||
| 204 | must be in the range 1000..9999. It now works with any year supported | ||
| 205 | by the underlying C implementation. | ||
| 200 | 206 | ||
| 201 | * Changes in Emacs 24.2 on non-free operating systems | 207 | * Changes in Emacs 24.2 on non-free operating systems |
| 202 | 208 | ||