1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-26 19:18:50 +00:00

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.
This commit is contained in:
Dave Love 1999-09-07 16:19:13 +00:00
parent 05c8abbee2
commit e65fc107a7

View File

@ -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