Mercurial > emacs
changeset 84707:e18c264133a5
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:55:41 +0000 |
parents | a1bd1299729c |
children | 0908000cac66 |
files | lisp/url/url-util.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/url/url-util.el Fri Sep 21 02:41:05 2007 +0000 +++ b/lisp/url/url-util.el Fri Sep 21 02:55:41 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)))