Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.2.2
-
Component/s: Validators
-
Labels:None
-
Environment:Problem exists in SVN as of r7298
Description
To validate data of type 'timestamp', the validator splits the Date/Time using a space, where as, the format created by date('c') specifies a 'T' to split the Date/Time. It seems the simple fix should be to change the space on line 47 of Doctrine/Validator/Timestamp.php to a 'T'
Date generated from gmdate('c') - 2010-03-02T22:08:56+00:00
Patch to explode on 'T' instead of ' ', to align with the expected results of gmdate('r')