]> git.eshelyaron.com Git - emacs.git/commitdiff
(timezone-parse-date): Recognize new format used in internet cookies.
authorKarl Heuer <kwzh@gnu.org>
Thu, 6 May 1999 21:26:34 +0000 (21:26 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 6 May 1999 21:26:34 +0000 (21:26 +0000)
lisp/timezone.el

index a7ff21d831030b5e05feef027e35895662eb372c..1b22bde4ee6e08a9a2bbc3a6a3ceb38eba9ea06b 100644 (file)
@@ -175,6 +175,10 @@ Understands the following styles:
            "\\([0-9]+\\)[ \t]+\\([^ \t,]+\\)[ \t]+\\([0-9]+\\)[ \t]+\\([0-9]+\\)[ \t]*\\([-+a-zA-Z0-9]+\\)" date)
           ;; 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.