Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.12, 1.1.4, 1.2.0-ALPHA2
-
Fix Version/s: 1.0.12, 1.1.4, 1.2.0-ALPHA2
-
Component/s: Validators
-
Labels:None
Description
Doctrine_Record::isValueModified compares timestamps as strings and values that are equal such as 2009-09-02 00:00:00 and 2009-09-02 are treated as modified.
The code should do a second compare on the strtotime value if the strings appear to be unequal.
Problem is with date-values before Fri, 13 Dec 1901 20:45:54 GMT
and after Tue, 19 Jan 2038 03:14:07 GMT.
For these values strtotime reports false and the field is not updated.
This is my first use of this issue-system, i dont find a button to reopen this issue.