1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

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.
This commit is contained in:
Glenn Morris 2007-09-21 02:53:08 +00:00
parent 92d175e2d9
commit fbc09406ca
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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)))