Fix reference to worksheet/cell collection from cell in isDateTime()
This commit is contained in:
parent
80e3c46f3a
commit
b42d4a353c
|
@ -253,7 +253,7 @@ class PHPExcel_Shared_Date
|
|||
*/
|
||||
public static function isDateTime(PHPExcel_Cell $pCell) {
|
||||
return self::isDateTimeFormat(
|
||||
$pCell->getParent()->getStyle(
|
||||
$pCell->getWorksheet()->getStyle(
|
||||
$pCell->getCoordinate()
|
||||
)->getNumberFormat()
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue