From dbe12c73a2b64a75212167e8705072c74a821cd6 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Tue, 24 Jul 2012 07:39:36 +0100 Subject: [PATCH] Formatting constant GENERAL should be FORMAT_GENERAL --- Classes/PHPExcel/Shared/Date.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/PHPExcel/Shared/Date.php b/Classes/PHPExcel/Shared/Date.php index 20c9aeb4..071b988c 100644 --- a/Classes/PHPExcel/Shared/Date.php +++ b/Classes/PHPExcel/Shared/Date.php @@ -265,7 +265,7 @@ class PHPExcel_Shared_Date // Switch on formatcode switch ($pFormatCode) { // General contains an epoch letter 'e', so we trap for it explicitly here - case PHPExcel_Style_NumberFormat::GENERAL: + case PHPExcel_Style_NumberFormat::FORMAT_GENERAL: return FALSE; // Explicitly defined date formats case PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD: