library/Fiktiv/Date.php: coding style fix.
This commit is contained in:
parent
78265e8044
commit
c8b44d6345
1 changed files with 4 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue