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/gnus/nnweb.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/gnus/nnweb.el')
-rw-r--r-- | lisp/gnus/nnweb.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/nnweb.el b/lisp/gnus/nnweb.el index a171cb35ae4..8c9c984ba2e 100644 --- a/lisp/gnus/nnweb.el +++ b/lisp/gnus/nnweb.el @@ -365,7 +365,7 @@ Valid types include `google', `dejanews', and `gmane'.") (match-string 1) (match-string 2) (or (match-string 3) - (substring (current-time-string) -4))) + (format-time-string "%Y"))) (current-time-string))) (setq From (match-string 4))) (widen) |