From bf2b74b57eb0fc72423ed7edfd8bd14743100f1a Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Mon, 7 Mar 2016 07:59:19 +0000 Subject: [PATCH] Fix missing ; in last commit --- Classes/PHPExcel/Shared/Date.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/PHPExcel/Shared/Date.php b/Classes/PHPExcel/Shared/Date.php index 025a6ec..c772bd4 100644 --- a/Classes/PHPExcel/Shared/Date.php +++ b/Classes/PHPExcel/Shared/Date.php @@ -188,7 +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;