Skip to content
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

executionTime.nextExecution(startDateTime) error #444

Closed
ghost opened this issue Sep 30, 2020 · 5 comments
Closed

executionTime.nextExecution(startDateTime) error #444

ghost opened this issue Sep 30, 2020 · 5 comments
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Sep 30, 2020

1. cron desc: "0 40 08 ? * *"

2. code desc:
DateTime startDateTime = new DateTime(1601426291898L); // 2020-09-30T08:38:11.898+08:00
startDateTime = executionTime.nextExecution(startDateTime); // startDateTime changed 2020-10-01T08:40:00.000+08:00

3. question desc: 2020-09-30T08:40:00.000+08:00 was losted

@ghost
Copy link
Author

ghost commented Sep 30, 2020

com.cronutils cron-utils 4.1.2

@jmrozanec
Copy link
Owner

@zhanxingcheng thank you for reporting this. We very much appreciate it! May we ask for a PR with a test for the case you described? Thank you! 😄

@charchitmangal
Copy link

hey! i would like to work on this Issue

@jmrozanec
Copy link
Owner

@charchithere go for it! Thanks!

@jmrozanec
Copy link
Owner

@charchithere any updates on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants