diff --git a/Classes/PHPExcel/Shared/Date.php b/Classes/PHPExcel/Shared/Date.php index 278f6ba..a99f070 100644 --- a/Classes/PHPExcel/Shared/Date.php +++ b/Classes/PHPExcel/Shared/Date.php @@ -188,8 +188,8 @@ class PHPExcel_Shared_Date } 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)); } elseif (is_string($dateValue)) { - $retValue = self::stringToExcel($dateValue); - + $retValue = self::stringToExcel($dateValue) + } date_default_timezone_set($saveTimeZone); return $retValue;