aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-07-10 17:19:28 +0000
committerRichard M. Stallman2005-07-10 17:19:28 +0000
commitf44c13705f7749f95153296e66e2475e43399def (patch)
treecddcbf94c2533bbf3b89145506aebca3774b623f
parent385480e59a8bdf199cbd903ca42eb938a4ec886f (diff)
downloademacs-f44c13705f7749f95153296e66e2475e43399def.tar.gz
emacs-f44c13705f7749f95153296e66e2475e43399def.zip
(timezone-parse-date): Changed first regexp
so it will not mistakenly match dates with no time zone.
-rw-r--r--lisp/timezone.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/timezone.el b/lisp/timezone.el
index cd6e3ce769f..692e2a682ce 100644
--- a/lisp/timezone.el
+++ b/lisp/timezone.el
@@ -149,7 +149,7 @@ Understands the following styles:
149 (time nil) 149 (time nil)
150 (zone nil)) ;This may be nil. 150 (zone nil)) ;This may be nil.
151 (cond ((string-match 151 (cond ((string-match
152 "\\([0-9]+\\)[ \t]+\\([^ \t,]+\\)[ \t]+\\([0-9]+\\)[ \t]+\\([0-9]+:[0-9:]+\\)[ \t]*\\([-+a-zA-Z0-9]+\\)" date) 152 "\\([0-9]+\\)[ \t]+\\([^ \t,]+\\)[ \t]+\\([0-9]+\\)[ \t]+\\([0-9]+:[0-9:]+\\)[ \t]+\\([-+a-zA-Z0-9]+\\)" date)
153 ;; Styles: (1) and (2) with timezone and buggy timezone 153 ;; Styles: (1) and (2) with timezone and buggy timezone
154 ;; This is most common in mail and news, 154 ;; This is most common in mail and news,
155 ;; so it is worth trying first. 155 ;; so it is worth trying first.