1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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.
This commit is contained in:
Paul Eggert 2012-05-03 23:13:18 -07:00
parent 85e8b51811
commit 0bfcf5c598
9 changed files with 30 additions and 13 deletions

View file

@ -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