diff options
| author | Dave Love | 1999-09-07 16:19:13 +0000 |
|---|---|---|
| committer | Dave Love | 1999-09-07 16:19:13 +0000 |
| commit | e65fc107a771c2cc517a348ada19e88f21ecd318 (patch) | |
| tree | 846d0fecce9b0b75fbc1140db73c40a050476bf6 | |
| parent | 05c8abbee2cfe1163bd40c19b84d5530efc88dc1 (diff) | |
| download | emacs-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.el | 2 |
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 |