Mercurial > emacs
diff lisp/url/url-util.el @ 78850:55336492349b
Diane Murray <disumu at x3y2z1.net>
(url-get-normalized-date): Pass full timezone information to
timezone-make-date-arpa-standard, since zone name may be unknown.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 21 Sep 2007 02:52:51 +0000 |
parents | 8932997d0b62 |
children | 5299839279f5 |
line wrap: on
line diff
--- a/lisp/url/url-util.el Fri Sep 21 02:43:48 2007 +0000 +++ b/lisp/url/url-util.el Fri Sep 21 02:52:51 2007 +0000 @@ -190,7 +190,7 @@ (let* ((raw (if specified-time (current-time-string specified-time) (current-time-string))) (gmt (timezone-make-date-arpa-standard raw - (nth 1 (current-time-zone)) + (current-time-zone) "GMT")) (parsed (timezone-parse-date gmt)) (day (cdr-safe (assoc (substring raw 0 3) url-weekday-alist)))