diff options
| author | Richard M. Stallman | 1999-04-06 18:50:08 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1999-04-06 18:50:08 +0000 |
| commit | 9dafdfe2852a672e71e1d8e6ab1bc187b6eeaf4b (patch) | |
| tree | 6bb457455207deb093baff43d09ebfe7d5000843 | |
| parent | 312bdc0dcbd5c4ac35b61bd4ac81711e7b7532ac (diff) | |
| download | emacs-9dafdfe2852a672e71e1d8e6ab1bc187b6eeaf4b.tar.gz emacs-9dafdfe2852a672e71e1d8e6ab1bc187b6eeaf4b.zip | |
(timezone-parse-date): Corrected regexp for
style (5) date format so that tenths of seconds are optional.
| -rw-r--r-- | lisp/timezone.el | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
| 176 | ;; Styles: (4) with timezone | 176 | ;; Styles: (4) with timezone |
| 177 | (setq year 3 month 2 day 1 time 4 zone 5)) | 177 | (setq year 3 month 2 day 1 time 4 zone 5)) |
| 178 | ((string-match | 178 | ((string-match |
| 179 | "\\([0-9]+\\)-\\([A-Za-z]+\\)-\\([0-9]+\\)[ \t]+\\([0-9]+:[0-9]+:[0-9]+\\)\\.[0-9]+" date) | 179 | "\\([0-9]+\\)-\\([A-Za-z]+\\)-\\([0-9]+\\)[ \t]+\\([0-9]+:[0-9]+:[0-9]+\\)\\(\\.[0-9]+\\)?" date) |
| 180 | ;; Styles: (5) without timezone. | 180 | ;; Styles: (5) without timezone. |
| 181 | (setq year 3 month 2 day 1 time 4 zone nil)) | 181 | (setq year 3 month 2 day 1 time 4 zone nil)) |
| 182 | ((string-match | 182 | ((string-match |