From 9dafdfe2852a672e71e1d8e6ab1bc187b6eeaf4b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 6 Apr 1999 18:50:08 +0000 Subject: [PATCH] (timezone-parse-date): Corrected regexp for style (5) date format so that tenths of seconds are optional. --- lisp/timezone.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/timezone.el b/lisp/timezone.el index 3de071a4a70..a7ff21d8310 100644 --- a/lisp/timezone.el +++ b/lisp/timezone.el @@ -176,7 +176,7 @@ Understands the following styles: ;; 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 -- 2.39.2