Mercurial > emacs
changeset 15582:2066a7282df9
(rmail-make-basic-summary-line): Accept ISO 8601 dates as well.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 02 Jul 1996 16:23:51 +0000 |
parents | 4d843931581c |
children | 0a86a597ca7e |
files | lisp/mail/rmailsum.el |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/rmailsum.el Tue Jul 02 16:23:34 1996 +0000 +++ b/lisp/mail/rmailsum.el Tue Jul 02 16:23:51 1996 +0000 @@ -334,6 +334,15 @@ (match-end 4))) (buffer-substring (match-beginning 2) (match-end 2)))) + ((re-search-forward "\\(19\\|20\\)\\([0-9][0-9]\\)-\\([01][0-9]\\)-\\([0-3][0-9]\\)" + (save-excursion (end-of-line) (point)) t) + (format "%2s%2s%2s" + (buffer-substring + (match-beginning 2) (match-end 2)) + (buffer-substring + (match-beginning 3) (match-end 3)) + (buffer-substring + (match-beginning 4) (match-end 4)))) (t "??????")))) " " (save-excursion