Actually never mind me :).

That scenario doesn't matter because the file really is from last year.

Thanks again for fixing this.

-James
-----Original Message-----
From: James Wald [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 02, 2005 8:13 AM
To: 'Alexander V. Lukyanov'; 'Jeffrey Litvin'
Cc: '[email protected]'
Subject: RE: lftp giving wrong timestamps

Alexander,

Thanks for taking a look at this bug with us.

Your patch will fix most cases except the following scenario:

FTP server is behind your time zone.

New file  Dec 31
Now still Jan 1

(11 * 32 + 31) = 383 > 7 = (0 * 32 + 1 + 6)

Not a big deal, but just figured if you're going to fix the issue you might
want to cover all of the cases so no one experiences the issue again.

-James
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Alexander V. Lukyanov
Sent: Thursday, December 01, 2005 9:22 AM
To: Jeffrey Litvin
Cc: 'James Wald'; [email protected]
Subject: Re: lftp giving wrong timestamps

On Thu, Dec 01, 2005 at 06:39:13AM -0500, Jeffrey Litvin wrote:
> Could this problem be solved by setting ftp:timezone then?

Probably.

Attached is a simpler patch to address the problem.

--
   Alexander.

Reply via email to