Changeset 5315 for branches/1.0/lib/Doctrine/Validator/Timestamp.php
- Timestamp:
- 12/18/08 18:22:18 (15 months ago)
- Files:
-
- 1 modified
-
branches/1.0/lib/Doctrine/Validator/Timestamp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/lib/Doctrine/Validator/Timestamp.php
r5086 r5315 45 45 } 46 46 47 if ( ! preg_match('/^ *\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}(.\d{6}\+\d{2})? *$/', $value)) {48 return false;49 }50 51 47 list($date, $time) = explode(' ', trim($value)); 52 48