Fix reference to worksheet/cell collection from cell in isDateTime()

This commit is contained in:
Mark Baker 2013-03-20 13:48:25 +00:00
parent 80e3c46f3a
commit b42d4a353c
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ class PHPExcel_Shared_Date
*/ */
public static function isDateTime(PHPExcel_Cell $pCell) { public static function isDateTime(PHPExcel_Cell $pCell) {
return self::isDateTimeFormat( return self::isDateTimeFormat(
$pCell->getParent()->getStyle( $pCell->getWorksheet()->getStyle(
$pCell->getCoordinate() $pCell->getCoordinate()
)->getNumberFormat() )->getNumberFormat()
); );