diff options
author | Glenn Morris <rgm@gnu.org> | 2007-09-21 02:59:20 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-09-21 02:59:20 +0000 |
commit | 965d1f0e2552c367183129546716f93eef5e5c49 (patch) | |
tree | c4f191f32721fc2acdf8e1d413f812ac34876af4 /lisp/url | |
parent | ea1bf8c799487bf27aa5bc92ed443bcea0717aa3 (diff) | |
download | emacs-965d1f0e2552c367183129546716f93eef5e5c49.tar.gz |
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.
Diffstat (limited to 'lisp/url')
-rw-r--r-- | lisp/url/ChangeLog | 6 | ||||
-rw-r--r-- | lisp/url/url-util.el | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 9b78cf98bb5..d8f3a512d1c 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,3 +1,9 @@ +2007-09-21 Diane Murray <disumu@x3y2z1.net> + + * url-util.el (url-get-normalized-date): Pass full timezone + information to timezone-make-date-arpa-standard, since zone name + may be unknown. + 2007-09-03 Diane Murray <disumu@x3y2z1.net> * url-http.el (url-http-parse-headers): Bind the current buffer diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el index 5b5b43a7db7..9f73fa435be 100644 --- a/lisp/url/url-util.el +++ b/lisp/url/url-util.el @@ -190,7 +190,7 @@ Will not do anything if `url-show-status' is nil." (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))) |