Timezone conversion error - incorrect year
|Reported by:||rkodey||Owned by:|
|Keywords:||Cc:||rkodey, Tim Kosse, Alexander Schuch|
|Component version:||Operating system type:|
|Operating system version:|
This is a fresh look at bug 1608370 (which was closed as it was mis-categorized as a server bug)
In my case it's solely a Client bug (FileZilla Client 3.0.1)
The issue is definitely related to timezones. When a file is uploaded to a FTP server between midnight local time and midnight GMT, the file's year is decremented. (At least that is the case for those of us that are X hours behind GMT time.)
In my case, I'm GMT -0400 - so the error only shows itself for the 4 hours between midnight GMT and midnight EST.
Here's snapshot #1: I'm uploading a fresh file 11:03pm Eastern on 9/24 (aka GMT 03:03 9/25)
Response: 220 ProFTPD 1.3.0a Server
Response: 215 UNIX Type: L8
Command: LIST -a
Response: 150 Opening ASCII mode data connection for file list
Listing: drwxr-x--x 2 user1103899 user1103899 4096 Sep 25 03:03 .
Listing: drwxr-x--x 8 user1103899 user1103899 4096 Apr 18 17:39 ..
Listing: -rw-r--r-- 1 user1103899 user1103899 1362 Sep 25 03:03 cache.xml
Response: 226 Transfer complete.
Status: Directory listing successful
The resulting "Last Modified" date shown in FileZilla Client is:
cache.xml 9/24/2006 11:03:00 PM
So, notice the YEAR is off by 1. However, it's done the timezone conversion properly for the time, and day of the month.
I'll do another snapshot just past midnight, so you can see the exact same file correct itself in the Client.