Re: [BUG] server time zone ignored in some situations

2011-03-09 Thread Alexander V. Lukyanov
On Sat, Mar 05, 2011 at 05:22:32PM -0800, Chris Moore wrote: This ends up using Ftp::ConvertFtpDate() in ftpclass.cc, which ignores the timezone, instead doing: return mktime_from_utc(tm); This is correct. MDTM command must return GMT time. From the draft-ietf-ftpext-mlst-16.txt: Time

Re: [BUG] server time zone ignored in some situations

2011-03-09 Thread Chris Moore
On Wed, Mar 9, 2011 at 1:55 AM, Alexander V. Lukyanov l...@netis.ru wrote: This is correct. MDTM command must return GMT time. From the draft-ietf-ftpext-mlst-16.txt: Time values are always represented in UTC (GMT), and in the Gregorian calendar regardless of what calendar may have been

[BUG] server time zone ignored in some situations

2011-03-05 Thread Chris Moore
I'm using the 'mirror' command to only upload modified files to the FTP server. The server has an EST timezone. Whenever I run the mirror command, all the files I've modified in the last 5 hours are being re-uploaded. It turns out that the timezone is taken into account when parsing the