Skip to content

Commit

Permalink
[RELEASE] 2.0.1
Browse files Browse the repository at this point in the history
- Fix broken timestamps with 32bit php setup
  • Loading branch information
Pascal Rinker committed Jun 3, 2019
1 parent ed90522 commit 5988f05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Classes/Task/DeutscherWetterdienstTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,12 @@ protected function getWeatherAlertInstanceForAlert(array $alert, string $warnCel
}
if (isset($alert['start'])) {
$startTime = new \DateTime();
$startTime->setTimestamp((int)$alert['start'] / 1000);
$startTime->setTimestamp((int)substr((string)$alert['start'], 0, -3));
$weatherAlert->setStartDate($startTime);
}
if (isset($alert['end'])) {
$endTime = new \DateTime();
$endTime->setTimestamp((int)$alert['end'] / 1000);
$endTime->setTimestamp((int)substr((string)$alert['end'], 0, -3));
$weatherAlert->setEndDate($endTime);
}

Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'uploadfolder' => '0',
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '2.0.0',
'version' => '2.0.1',
'constraints' => [
'depends' => [
'typo3' => '8.7.0-9.5.99',
Expand Down

0 comments on commit 5988f05

Please sign in to comment.