P4DTI issue job000379

TitleP4DTI corrupts date/time fields in TeamTrack if server time zone is not UTC
Statusclosed
Prioritycritical
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionThe P4DTI corrupts date/time fields -- on every poll each date/time field gets advanced by the difference between the time zone on the machine running the replicator and UTC.
AnalysisTeamTrack stores dates in local time but the replicator interprets them as times in UTC. Use time.localtime rather than time.gmtime in the date translator.
This has similar symptoms to job000381, but a different underlying cause.
How foundcustomer
Evidence<http://info.ravenbrook.com/mail/2001/08/02/00-33-48/0.txt>
Observed in1.1.4
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-02 14:11:56
Last modified byGareth Rees
Last modified on2001-12-10 19:53:55
History2001-08-02 GDR Created.

Fixes

Change Effect Date User Description
14650 closed 2001-08-02 14:37:59 Gareth Rees Interpret TeamTrack dates as local time, not UTC.