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 | |
| 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')
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/NEWS | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index f34e5d6d688..2a6cd719220 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-05-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * NEWS: Do not limit current-time-string to years 1000..9999. | ||
| 4 | |||
| 1 | 2012-04-27 Jambunathan K <kjambunathan@gmail.com> | 5 | 2012-04-27 Jambunathan K <kjambunathan@gmail.com> |
| 2 | 6 | ||
| 3 | * org/OrgOdtStyles.xml (OrgDescriptionList): Modify style. With | 7 | * org/OrgOdtStyles.xml (OrgDescriptionList): Modify style. With |
| @@ -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 | ||