From: Remko Scharroo: > Can this be fixed?
Of course it can be fixed, but someone will need to fix it, which would involve defining the user interface and adding the code to do the actual time offset. I assume that the user will need to specify the offset. For an indication of what could be done, you might look for WGET_TIMEZONE_DIFFERENTIAL in my VMS-adapted src/ftp-ls.c: ftp_parse_vms_ls(). http://antinode.org/dec/sw/wget.html This is a common problem on VMS systems, which normally (sadly), use local time instead of, say, UTC. One result of this is that FTP servers on VMS tend to provide file date-times in the server's local time. I chose to add an environment variable (a VMS logical name on a VMS system) as the user interface for code simplicity (less work for me), and partly because VMS uses a similar logical name (SYS$TIMEZONE_DIFFERENTIAL) to specify the offset from UTC to local time, so the concept would already be familiar to a VMS user. I use WGET_TIMEZONE_DIFFERENTIAL in the code only for a VMS FTP server, but I assume that it could easily be adapted to the other ftp_parse*_ls() functions. (Or a new command-line option could be used to specify the offset.) When I did the work, I probably didn't consider the possibility that any non-VMS FTP servers would provide file date-times in non-UTC. Otherwise I might have made it more general. Trying to get my VMS-related changes into the main Wget development stream has been sufficiently unsuccessful that I don't spend much time working on adding features and fixes which are not trivially easy and which I don't actually need myself. But I wouldn't try to discourage anyone else. ------------------------------------------------------------------------ Steven M. Schweda [EMAIL PROTECTED] 382 South Warwick Street (+1) 651-699-9818 Saint Paul MN 55105-2547