mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-02 13:41:21 +00:00
Another copy/paste error that has somehow sneaked into the date code
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user