diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-05-03 23:13:18 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-05-03 23:13:18 -0700 |
commit | 0bfcf5c598d7c351591827b14482253adf9ab015 (patch) | |
tree | d11131363f77dcf33346df9a727663214664c46d /lisp/time.el | |
parent | 85e8b518113820afff2edd0a35e70d54b1395ff4 (diff) | |
download | emacs-0bfcf5c598d7c351591827b14482253adf9ab015.tar.gz |
Fix minor Y10k bugs.
* lisp/arc-mode.el (archive-unixdate):
* lisp/autoinsert.el (auto-insert-alist):
* lisp/calc/calc-forms.el (math-this-year):
* lisp/gnus/nnweb.el (nnweb-google-parse-1):
* lisp/emacs-lisp/copyright.el (copyright-current-year)
(copyright-update-year, copyright):
* lisp/tar-mode.el (tar-clip-time-string):
* lisp/time.el (display-time-update):
Don't assume years have 4 digits.
Diffstat (limited to 'lisp/time.el')
-rw-r--r-- | lisp/time.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/time.el b/lisp/time.el index c7fa5927e48..8d43b565416 100644 --- a/lisp/time.el +++ b/lisp/time.el @@ -465,7 +465,7 @@ update which can wait for the next redisplay." (seconds (substring time 17 19)) (time-zone (car (cdr (current-time-zone now)))) (day (substring time 8 10)) - (year (substring time 20 24)) + (year (format-time-string "%Y" now)) (monthname (substring time 4 7)) (month (cdr |