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 on formatcode
|
||||||
switch ($pFormatCode) {
|
switch ($pFormatCode) {
|
||||||
// General contains an epoch letter 'e', so we trap for it explicitly here
|
// 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;
|
return FALSE;
|
||||||
// Explicitly defined date formats
|
// Explicitly defined date formats
|
||||||
case PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD:
|
case PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD:
|
||||||
|
|
Loading…
Reference in New Issue