mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-22 05:16:06 +03:00
Testing pre-commit hook for lint check of PHP syntax
This commit is contained in:
parent
bf2b74b57e
commit
d3fd1508a1
@ -188,7 +188,7 @@ class PHPExcel_Shared_Date
|
|||||||
} elseif (is_numeric($dateValue)) {
|
} elseif (is_numeric($dateValue)) {
|
||||||
$retValue = self::FormattedPHPToExcel(date('Y', $dateValue), date('m', $dateValue), date('d', $dateValue), date('H', $dateValue), date('i', $dateValue), date('s', $dateValue));
|
$retValue = self::FormattedPHPToExcel(date('Y', $dateValue), date('m', $dateValue), date('d', $dateValue), date('H', $dateValue), date('i', $dateValue), date('s', $dateValue));
|
||||||
} elseif (is_string($dateValue)) {
|
} elseif (is_string($dateValue)) {
|
||||||
$retValue = self::stringToExcel($dateValue);
|
$retValue = self::stringToExcel($dateValue)
|
||||||
}
|
}
|
||||||
date_default_timezone_set($saveTimeZone);
|
date_default_timezone_set($saveTimeZone);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user