-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
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
A cron-utils bug by week #424
Comments
@HongZhaoHua thank you for reporting this. May we ask you a PR with a test? Thanks! |
@jmrozanec sure. here is the test, plz check it.
|
@HongZhaoHua thanks! 😄 |
@jmrozanec u r welcome. |
IndeedSi
added a commit
to IndeedSi/cron-utils
that referenced
this issue
Oct 12, 2020
…hen looking for closest previous match
@HongZhaoHua the issue is now fixed! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use cron "0 0 12 ? * SUN#4 2020"
and use dateTime = ZonedDateTime.of(2021, 1, 1, 0, 0, 0, ZoneOffset.UTC);
now, run execution.lastExecution(dateTime);
you will get the result is 2022-11-27T12:00
but in fact, the result must be 2020-12-27T12:00
The text was updated successfully, but these errors were encountered: