changeset 24697:4708ef6e279e

(timezone-parse-date): Recognize new format used in internet cookies.
author Karl Heuer <kwzh@gnu.org>
date Thu, 06 May 1999 21:26:34 +0000
parents c28f1c2e8339
children 57bcdf84ce42
files lisp/timezone.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/timezone.el	Thu May 06 15:06:44 1999 +0000
+++ b/lisp/timezone.el	Thu May 06 21:26:34 1999 +0000
@@ -176,6 +176,10 @@
 	   ;; 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]+\\)?[ \t]+\\([-+a-zA-Z0-9]+\\)" date)
+	   ;; Styles: (5) with timezone.
+	   (setq year 3 month 2 day 1 time 4 zone 6))
+	  ((string-match
 	    "\\([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))