Ravenbrook / Projects / Perforce Defect Tracking Integration / Issues

Perforce Defect Tracking Integration


P4DTI issue job000381

Title: P4DTI corrupts date/time fields in TeamTrack if daylight savings time is in effect
Status: closed
Priority: critical
Assigned user: gdr
Product: p4dti
Organization: Ravenbrook
Description: The 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.
Analysis: We 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 found: customer
Evidence: <http://info.ravenbrook.com/mail/2001/08/04/00-09-46/0.txt>
Observed in: 1.1.5
Introduced in: 0.4.0
Test procedure: <http://www.ravenbrook.com/project/p4dti/master/test/test_p4dti.py>, section 10
Created by: gdr
Created on: 2001-08-06 13:53:19
Last modified by: gdr
Last modified on: 2001-12-10 19:54:27
History: 2001-08-06 GDR Created.

Fixes

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

Generated at 2010-03-12 14:09:18 by $Id: //info.ravenbrook.com/infosys/cgi/issue.cgi#439 $

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