From add064e80eea784b09b3e8502cfa59ec5a13d354 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Fri, 13 Oct 2017 12:07:09 +0900 Subject: [PATCH] Migrate `Shared\Date` methods Closes #247 --- src/PhpSpreadsheet/Helper/Migrator.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PhpSpreadsheet/Helper/Migrator.php b/src/PhpSpreadsheet/Helper/Migrator.php index 94890db1..51252d0b 100644 --- a/src/PhpSpreadsheet/Helper/Migrator.php +++ b/src/PhpSpreadsheet/Helper/Migrator.php @@ -210,6 +210,9 @@ class Migrator 'SECONDOFMINUTE' => 'SECOND', 'DAYOFWEEK' => 'WEEKDAY', 'WEEKOFYEAR' => 'WEEKNUM', + 'ExcelToPHPObject' => 'excelToDateTimeObject', + 'ExcelToPHP' => 'excelToTimestamp', + 'FormattedPHPToExcel' => 'formattedPHPToExcel', ]; return $mapping;