Ravenbrook / Projects / Perforce Defect Tracking Integration / Issues


P4DTI issue job000379

Title:P4DTI corrupts date/time fields in TeamTrack if server time zone is not UTC
Status:closed
Priority:critical
Assigned user:Gareth Rees
Organization:Ravenbrook
Description:The 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.
Analysis:TeamTrack 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 found:customer
Evidence:<http:/​/​info.ravenbrook.com/​mail/​2001/​08/​02/​00-33-48/​0.txt>
Observed in:1.1.4
Introduced in:0.4.0
Test procedure:<http:/​/​www.ravenbrook.com/​project/​p4dti/​master/​test/​test_p4dti.py>, section 10
Created by:Gareth Rees
Created on:2001‑08‑02 14:11:56
Last modified by:Gareth Rees
Last modified on:2001‑12‑10 19:53:55
History:2001-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.

Generated at 2012-02-07 21:16:16 by $Id: //info.ravenbrook.com/infosys/cgi/issue.cgi#471 $

Copyright © Ravenbrook Limited. This document is provided "as is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this document. You may make and distribute verbatim copies of this document provided that you do not charge a fee for this document or for its distribution.

Ravenbrook / Projects / Perforce Defect Tracking Integration / Issues