mtdowling / cron-expression

CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
http://mtdowling.com/blog/2012/06/03/cron-expressions-in-php/
MIT License
4.9k stars 335 forks source link

0 24 1 12 0 seems to pass #154

Closed dilab closed 7 years ago

dilab commented 7 years ago

hour's value should be 0-23.

But $result = CronExpression::isValidExpression("0 24 1 12 0") seems to return true

dragonmantank commented 7 years ago

Fixed in b9f4588 as part of the validation updates