Archived
1
0
Fork 0

library/Fiktiv/Date.php: coding style fix.

This commit is contained in:
Henrik Hautakoski 2010-11-16 17:57:16 +01:00
parent 78265e8044
commit c8b44d6345

View file

@ -9,17 +9,18 @@ class Fiktiv_Date extends Zend_Date
public function toString($format = null, $type = null, $locale = null)
{
if (null === $format)
if (null === $format) {
$format = 'yyyy-MM-dd HH:mm:ss';
}
return parent::toString($format, $type, $locale);
}
public static function isDate($date, $format = null, $locale = null)
{
if (null === $format)
if (null === $format) {
$format = 'yyyy-MM-dd HH:mm:ss';
}
return parent::isDate($date, $format, $locale);
}