Closed poliander closed 7 years ago
$t = null; for ($i = 0; $i < 20; $i++) { $c = new \Cron('0 1 * * *'); echo date('Y-m-d H:i:s', $t = $c->getNext($t)) . "<br />"; }
Expected:
2017-06-04 01:00:00 2017-06-05 01:00:00 ...
Actual:
2017-06-04 01:00:00 2017-06-04 01:00:00 ...
Fixed in 1.2.2
Expected:
2017-06-04 01:00:00 2017-06-05 01:00:00 ...
Actual:
2017-06-04 01:00:00 2017-06-04 01:00:00 ...