# HG changeset patch # User Karl Heuer # Date 926025994 0 # Node ID 4708ef6e279e15996f8fbde42950dcaa218711b7 # Parent c28f1c2e8339829821e884e3781870acb09c5785 (timezone-parse-date): Recognize new format used in internet cookies. diff -r c28f1c2e8339 -r 4708ef6e279e lisp/timezone.el --- 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))