Another copy/paste error that has somehow sneaked into the date code

This commit is contained in:
MarkBaker 2016-08-13 13:38:10 +01:00
parent 558da2269d
commit 2da06e5b03
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class Date
* @return integer Unix timetamp for this date/time * @return integer Unix timetamp for this date/time
* @throws \Exception * @throws \Exception
*/ */
public static function excelToTimestamp($excelTimestampexcelTimestamp = 0, $timeZone = null) { public static function excelToTimestamp($excelTimestamp = 0, $timeZone = null) {
return self::excelToDateTimeObject($excelTimestamp, $timeZone) return self::excelToDateTimeObject($excelTimestamp, $timeZone)
->format('U'); ->format('U');
} }