mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-29 16:56:03 +03:00
Formatting constant GENERAL should be FORMAT_GENERAL
This commit is contained in:
parent
317f00b259
commit
dbe12c73a2
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user