-
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
Wrong parsing version 4.1.1 #103
Comments
@benoitbb Just checked - it is a bug. Thank you for reporting it. If you have some time, you are welcome to contribute a test for it, or even a solution :) Thanks! |
The problem is in the FieldConstraintsBuilder#daysOfWeekMapping. If I change the mapping to be from 0 to 6 this test is working properly, but others are now breaking. Could the problem start from the fact that the java version was changed to 8 and somehow the internal calendar is handling differently the days of the week? On the other hand I've seen in the code that there were some other problems with the day-of-week. Can you explain to me what was the problem and what was the solution? |
@albuhuba almost all computations are based on Jodatime. We abstract internal date representations from those related to crons. The issue is most probably related to a cron specific mapping. For the other DoW issues, please check the corresponding issues and commits. Thanks! |
@albuhuba Today we updated all Jodatime references to Java8 ZonedDateTime. If working on this issue, please consider updating the branch. |
This issue seems to be caused by the fact, that while |
In 6.0.2 the expression |
@pangyikhei yes, you are right. The description is not accurate. We should add a test for this case too. Thanks! |
--> output :
Is it a bug ?
Can you have a look please ?
Best regards,
The text was updated successfully, but these errors were encountered: