Commit
…lected (see #419)
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -142,8 +142,8 @@ protected function compile() | |
} | ||
elseif ($this->news_jumpToCurrent == 'all_items') | ||
{ | ||
$intBegin = 0; | ||
$intEnd = time(); | ||
$intBegin = 0; // 1970-01-01 00:00:00 | ||
$intEnd = 2145913200; // 2038-01-01 00:00:00 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
fritzmg
Contributor
|
||
} | ||
} | ||
catch (\OutOfBoundsException $e) | ||
|
Why only
2038
? We don't have to limit to 32bit, do we? Shouldn't that just bePHP_INT_MAX
?