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:
parent
92d175e2d9
commit
fbc09406ca
@ -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
|
||||
|
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user