Mercurial > emacs
changeset 64210:3e480e2df335
(timezone-parse-date): Changed first regexp
so it will not mistakenly match dates with no time zone.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 10 Jul 2005 17:19:28 +0000 |
parents | 193c8e4fb4d1 |
children | 11c1d62f46ae |
files | lisp/timezone.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/timezone.el Sun Jul 10 17:19:07 2005 +0000 +++ b/lisp/timezone.el Sun Jul 10 17:19:28 2005 +0000 @@ -149,7 +149,7 @@ (time nil) (zone nil)) ;This may be nil. (cond ((string-match - "\\([0-9]+\\)[ \t]+\\([^ \t,]+\\)[ \t]+\\([0-9]+\\)[ \t]+\\([0-9]+:[0-9:]+\\)[ \t]*\\([-+a-zA-Z0-9]+\\)" date) + "\\([0-9]+\\)[ \t]+\\([^ \t,]+\\)[ \t]+\\([0-9]+\\)[ \t]+\\([0-9]+:[0-9:]+\\)[ \t]+\\([-+a-zA-Z0-9]+\\)" date) ;; Styles: (1) and (2) with timezone and buggy timezone ;; This is most common in mail and news, ;; so it is worth trying first.