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 -1
View File
@@ -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()
);