# HG changeset patch # User Dave Love # Date 936721153 0 # Node ID 2d1ef4eb8297477cbe50054497bad854f748ec0b # Parent 9aecfcf3cb4328d302a1545efd2010e08d16857d 1999-09-07 Edward M. Reingold * diary-lib.el (list-diary-entries): Make sure two-digit years have leading zeros. diff -r 9aecfcf3cb43 -r 2d1ef4eb8297 lisp/calendar/diary-lib.el --- a/lisp/calendar/diary-lib.el Tue Sep 07 14:49:01 1999 +0000 +++ b/lisp/calendar/diary-lib.el Tue Sep 07 16:19:13 1999 +0000 @@ -291,7 +291,7 @@ (concat "\\*\\|0*" (int-to-string year) (if abbreviated-calendar-year - (concat "\\|" (int-to-string (% year 100))) + (concat "\\|" (format "%02d" (% year 100))) ""))) (regexp (concat