aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2004-10-16 14:59:45 +0000
committerRichard M. Stallman2004-10-16 14:59:45 +0000
commitf5d4d259396f273f14c30d40daa54d5d67145f43 (patch)
treef53b245869370edb767d1d740416713f45951fc7
parent5d1f2b4f635d11fd50e695ab790810c9d9e49ad4 (diff)
downloademacs-f5d4d259396f273f14c30d40daa54d5d67145f43.tar.gz
emacs-f5d4d259396f273f14c30d40daa54d5d67145f43.zip
(url-get-normalized-date): Use url-weekday-alist and url-monthabbrev-alist.
-rw-r--r--lisp/url/url-util.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el
index 5d1f73e0d5d..1d0bfcf0c48 100644
--- a/lisp/url/url-util.el
+++ b/lisp/url/url-util.el
@@ -192,13 +192,13 @@ Will not do anything if `url-show-status' is nil."
192 (nth 1 (current-time-zone)) 192 (nth 1 (current-time-zone))
193 "GMT")) 193 "GMT"))
194 (parsed (timezone-parse-date gmt)) 194 (parsed (timezone-parse-date gmt))
195 (day (cdr-safe (assoc (substring raw 0 3) weekday-alist))) 195 (day (cdr-safe (assoc (substring raw 0 3) url-weekday-alist)))
196 (year nil) 196 (year nil)
197 (month (car 197 (month (car
198 (rassoc 198 (rassoc
199 (string-to-int (aref parsed 1)) monthabbrev-alist))) 199 (string-to-int (aref parsed 1)) url-monthabbrev-alist)))
200 ) 200 )
201 (setq day (or (car-safe (rassoc day weekday-alist)) 201 (setq day (or (car-safe (rassoc day url-weekday-alist))
202 (substring raw 0 3)) 202 (substring raw 0 3))
203 year (aref parsed 0)) 203 year (aref parsed 0))
204 ;; This is needed for plexus servers, or the server will hang trying to 204 ;; This is needed for plexus servers, or the server will hang trying to