Changeset 3409
- Timestamp:
- 02/06/07 09:08:40 (2 years ago)
- Files:
-
- branches/1.0/lib/i18n/sfDateFormat.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/lib/i18n/sfDateFormat.class.php
r3151 r3409 118 118 public function getDate($time, $pattern = null) 119 119 { 120 if (is_null($time)) 121 { 122 return null; 123 } 124 120 125 // if the type is not a php timestamp 121 126 $isString = (string) $time !== (string) (int) $time;