Another copy/paste error that has somehow sneaked into the date code
This commit is contained in:
parent
558da2269d
commit
2da06e5b03
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue