P4DTI issue job000381

TitleP4DTI corrupts date/time fields in TeamTrack if daylight savings time is in effect
Statusclosed
Prioritycritical
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionThe P4DTI corrupts date/time fields for which daylight savings time is in effect -- on every poll each such date/time field gets advanced by one hour.
AnalysisWe pass 0 as the ninth argument to mktime() in the date translator. We should pass -1 instead. (This may be true for each use of mktime, so check throughout the P4DTI.)
This has similar symptoms to job000379, but a different underlying cause.
How foundcustomer
Evidence<http://info.ravenbrook.com/mail/2001/08/04/00-09-46/0.txt>
Observed in1.1.5
Introduced in0.4.0
Test procedure<http://www.ravenbrook.com/project/p4dti/master/test/test_p4dti.py>, section 10
Created byGareth Rees
Created on2001-08-06 13:53:19
Last modified byGareth Rees
Last modified on2001-12-10 19:54:27
History2001-08-06 GDR Created.

Fixes

Change Effect Date User Description
14718 closed 2001-08-06 14:15:00 Gareth Rees Deal correctly with dates to which daylight savings time applies.