changeset 78850:55336492349b

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:52:51 +0000
parents 7c581139fa0b
children 3127dc0f5efd
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:43:48 2007 +0000
+++ b/lisp/url/url-util.el	Fri Sep 21 02:52:51 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)))