From 2da06e5b032f87da91bd98762af5ac2c508ac609 Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Sat, 13 Aug 2016 13:38:10 +0100 Subject: [PATCH] Another copy/paste error that has somehow sneaked into the date code --- src/PhpSpreadsheet/Shared/Date.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpSpreadsheet/Shared/Date.php b/src/PhpSpreadsheet/Shared/Date.php index 8069a7db..7e3eb32a 100644 --- a/src/PhpSpreadsheet/Shared/Date.php +++ b/src/PhpSpreadsheet/Shared/Date.php @@ -158,7 +158,7 @@ class Date * @return integer Unix timetamp for this date/time * @throws \Exception */ - public static function excelToTimestamp($excelTimestampexcelTimestamp = 0, $timeZone = null) { + public static function excelToTimestamp($excelTimestamp = 0, $timeZone = null) { return self::excelToDateTimeObject($excelTimestamp, $timeZone) ->format('U'); }