wget doesn't understand daylight savings time, and is writing
file dates that are in the past! I expect you will be
disinclined to believe this bug report, as I was disinclined
to believe that anyone could have *introduced* this bug, but
here is the evidence:
I am in PDT, and my machine knows it:
% date '+%z %Z'
-0700 PDT
I download a URL, and save the headers:
% rm live.jpg ; \
wget -t1 -T5 -qs http://nucleus.dnalounge.com/cam/live.jpg
The file has a GMT Last-Modified header that is close to the
current time (18:38 GMT == 11:38 PDT):
% grep -a Last-Modified live.jpg
Last-Modified: Tue, 10 Apr 2001 18:38:53 GMT
The file date that wget chose is an hour in the past:
% ls -lG --full live.jpg
-rw-r--r-- 1 root 30146 Tue Apr 10 10:38:53 2001 live.jpg
10:38 (the file date) would have been 17:38 GMT:
% date -u --date="4/10/2001 10:38"
Tue Apr 10 17:38:00 UTC 2001
wget 1.5.3, Red Hat Linux 6.2 (2.2.14.)
--
Jamie Zawinski
[EMAIL PROTECTED] http://www.jwz.org/
[EMAIL PROTECTED] http://www.dnalounge.com/