1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 19:31:02 -08: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

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