Closed Bug 290272 Opened 20 years ago Closed 20 years ago

Time in properties window is changed by timezone offset every time browser is closed

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 290273

People

(Reporter: morac, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

If the Download Manager is set in manually clean up mode and 1 or more files
were download in a browsing session, the properties for all entries in the
Download Manager will have their time shifted by the current timezone offset
when the browser is closed and reopened.

Reproducible: Always

Steps to Reproduce:
1. In the privacy settings, make sure Download Manager download removal is set
to "manual"
2. Download one or more files.  Check their properties and the start and finish
times will be correct.
3. Close the browser and reopen.  Check the properties again and they will be
off by the current timezone offset.  For example for EDT (-4) if the files were
download at 9 PM, they will list as being downloaded at 5 PM.
4. Without downloading any files, close the browser and reopen and check the
properties, they will be the same as in step #3.
5. Download some more files, close the browser and reopen.
6. Check the properties and all the existings files will have their time
properties shifted (including the ones that were already shifted in step #3.

Actual Results:  
The start and finish times are changed by whatever the timezone offset is (-5
for EST, -8 for PST, etc) after the browser is closed and reopened.

Expected Results:  
The start and finish times should not change.

I noticed this on a NTFS filesystem.  NTFS stores all dates/times in GMT on the
disk and translates them for the system's current timezone and daylight savings
time settings.  This might have something to do with the problem. FAT32 stores
the time as as adjusted so the problem may not happen there.

FAT is a local time system
NTFS is a UTC (Universal Coordinated Time) time system

*** This bug has been marked as a duplicate of 290273 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Sorry about the double bug report, my connect has been screwy tonight.
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.