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 336 forks source link

* * * 13 * seems to pass #156

Closed dilab closed 7 years ago

dilab commented 7 years ago

month value should be 1-12.

but CronExpression::isValidExpression("* * * 13 *") seems to pass

dragonmantank commented 7 years ago

Fixed in b9f4588 as part of the validation updates