bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Timezones


From: Mike Frysinger
Subject: Re: [Bug-wget] Timezones
Date: Tue, 7 Mar 2017 15:51:02 -0500

On 07 Mar 2017 16:14, Josef Moellers wrote:
> When a colleague checked timestamps handling in vsftpd, he found that
> wget is expecting that timestamps received from ftp server have the same
> timezone as the client.
> 
> in src/ftp-ls.c:ftp_parse_unix_ls()
> It reads time of modification from directory listing (.listing) which
> should be in UTC according to
> https://tools.ietf.org/html/rfc3659#section-3.1 and creates timestamp
> using mktime(timestruct) which honors local timezone configuration. This
> breaks timestamps.

i don't see any of timezone (utc or otherwise) in that document.
iiuc, the time stamps are not standardized across OS's or server
implementations, so wget can't take a hard line either: it isn't
possible to always return the right answer.
-mike

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]