Commit 6c4530b
authored
Avoid calling strtotime with "0000-00-00 00:00:00" arg
Calling strtotime("0000-00-00 00:00:00") in 32-bit environments triggers an "out of integer range" warning:
Let's avoid that call for the popular case of "zero" dates.
cc @aristath @OllieJones1 parent e77132d commit 6c4530b
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1574 | 1574 | | |
1575 | 1575 | | |
1576 | 1576 | | |
1577 | | - | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
1578 | 1583 | | |
1579 | 1584 | | |
1580 | 1585 | | |
| |||
0 commit comments