From 6fe91ac86a486d548ed019efcb345f8840a6835d Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Mon, 7 Mar 2016 11:36:29 +0000 Subject: [PATCH] git hooks syntax error test --- Classes/PHPExcel/Shared/Date.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/PHPExcel/Shared/Date.php b/Classes/PHPExcel/Shared/Date.php index a99f070..278f6ba 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;