# HG changeset patch # User Richard M. Stallman # Date 923424608 0 # Node ID d8a0152b923fda1691049aa2f1a1cbd8072b2210 # Parent 3472aaf1ed7bb46bca97d067a08d29e1846c1bb9 (timezone-parse-date): Corrected regexp for style (5) date format so that tenths of seconds are optional. diff -r 3472aaf1ed7b -r d8a0152b923f lisp/timezone.el --- 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