parse-cron icon indicating copy to clipboard operation
parse-cron copied to clipboard

Exception is not raised if day of week is outside of 0-7

Open adamruzicka opened this issue 4 years ago • 0 comments

> CronParser.new("* * * * 100").next
=> 2021-11-01 00:00:00 +0100

Other fields seem to raise an exception if the field is out of bound

> CronParser.new("100 400 * * *").next
ArgumentError: argument out of range

adamruzicka avatar Oct 08 '21 11:10 adamruzicka