aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love1999-09-07 16:19:13 +0000
committerDave Love1999-09-07 16:19:13 +0000
commite65fc107a771c2cc517a348ada19e88f21ecd318 (patch)
tree846d0fecce9b0b75fbc1140db73c40a050476bf6
parent05c8abbee2cfe1163bd40c19b84d5530efc88dc1 (diff)
downloademacs-e65fc107a771c2cc517a348ada19e88f21ecd318.tar.gz
emacs-e65fc107a771c2cc517a348ada19e88f21ecd318.zip
1999-09-07 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
* diary-lib.el (list-diary-entries): Make sure two-digit years have leading zeros.
-rw-r--r--lisp/calendar/diary-lib.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el
index 33a5cb38376..c35dcd24824 100644
--- a/lisp/calendar/diary-lib.el
+++ b/lisp/calendar/diary-lib.el
@@ -291,7 +291,7 @@ These hooks have the following distinct roles:
291 (concat 291 (concat
292 "\\*\\|0*" (int-to-string year) 292 "\\*\\|0*" (int-to-string year)
293 (if abbreviated-calendar-year 293 (if abbreviated-calendar-year
294 (concat "\\|" (int-to-string (% year 100))) 294 (concat "\\|" (format "%02d" (% year 100)))
295 ""))) 295 "")))
296 (regexp 296 (regexp
297 (concat 297 (concat