Mercurial > emacs
changeset 24570:d8a0152b923f
(timezone-parse-date): Corrected regexp for
style (5) date format so that tenths of seconds are optional.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 06 Apr 1999 18:50:08 +0000 |
parents | 3472aaf1ed7b |
children | 9944f4ca2ee5 |
files | lisp/timezone.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/timezone.el Tue Apr 06 18:43:26 1999 +0000 +++ b/lisp/timezone.el Tue Apr 06 18:50:08 1999 +0000 @@ -176,7 +176,7 @@ ;; Styles: (4) with timezone (setq year 3 month 2 day 1 time 4 zone 5)) ((string-match - "\\([0-9]+\\)-\\([A-Za-z]+\\)-\\([0-9]+\\)[ \t]+\\([0-9]+:[0-9]+:[0-9]+\\)\\.[0-9]+" date) + "\\([0-9]+\\)-\\([A-Za-z]+\\)-\\([0-9]+\\)[ \t]+\\([0-9]+:[0-9]+:[0-9]+\\)\\(\\.[0-9]+\\)?" date) ;; Styles: (5) without timezone. (setq year 3 month 2 day 1 time 4 zone nil)) ((string-match