We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to create an invalid cron with a 0th day of month "works".
Fugit::Cron.parse('0 2 1 0 *') => #<Fugit::Cron:0x00007f90279df648 @cron_s=nil, @hours=[2], @minutes=[0], @monthdays=[1], @months=[0], @original="0 2 1 0 *", @seconds=[0], @timezone=nil, @weekdays=nil, @zone=nil>
The resulting object is unusable (especially for next_time), but there was no error, and it did not return nil.
next_time
nil
Should(n't) it do so?
The text was updated successfully, but these errors were encountered:
Prevent 0 as day of month, gh-10
2159197
Prevent 0 as a month in crons, gh-10
6488c5f
Hello.
I prevented that for day of month and also for months themselves (month zero was ok).
Thanks a lot.
Please tell me if you spot other impossibilities and I'll do my best to prevent them.
Please tell me as well if you need a release for that.
Sorry, something went wrong.
Fast work, terrific. No release needed for us at the moment, it's good to know the check will be in the next version. Thanks.
Change err msg to 'invalid cron string "* * 0 * *"'
f852f23
gh-10 and gh-13
jmettraux
No branches or pull requests
Trying to create an invalid cron with a 0th day of month "works".
The resulting object is unusable (especially for
next_time
), but there was no error, and it did not returnnil
.Should(n't) it do so?
The text was updated successfully, but these errors were encountered: