From e65fc107a771c2cc517a348ada19e88f21ecd318 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Tue, 7 Sep 1999 16:19:13 +0000 Subject: [PATCH] 1999-09-07 Edward M. Reingold * diary-lib.el (list-diary-entries): Make sure two-digit years have leading zeros. --- lisp/calendar/diary-lib.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: (concat "\\*\\|0*" (int-to-string year) (if abbreviated-calendar-year - (concat "\\|" (int-to-string (% year 100))) + (concat "\\|" (format "%02d" (% year 100))) ""))) (regexp (concat -- 2.39.5