summaryrefslogtreecommitdiff
path: root/lisp/time-stamp.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/time-stamp.el')
-rw-r--r--lisp/time-stamp.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el
index b34ddfe0b60..62fe6f11c24 100644
--- a/lisp/time-stamp.el
+++ b/lisp/time-stamp.el
@@ -544,9 +544,9 @@ Optionally use FORMAT."
((eq cur-char ?y) ;year
(or alt-form (not (string-equal field-width ""))
(time-stamp-conv-warn "%y" "%:y"))
- (string-to-int (format-time-string "%Y" time)))
+ (format-time-string "%Y" time))
((eq cur-char ?Y) ;4-digit year, new style
- (string-to-int (format-time-string "%Y" time)))
+ (format-time-string "%Y" time))
((eq cur-char ?z) ;time zone lower case
(if change-case
"" ;discourage %z variations