You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
I was using the scheduler in Impress and got unexpected behavior. I hope I get the idea right: when function nextEvent returns 0, the task must run immediately. So here we got some Task contract examples in the documentation that runs immediately or doesn't run at all.
Bug description
I was using the scheduler in Impress and got unexpected behavior. I hope I get the idea right: when function nextEvent returns 0, the task must run immediately. So here we got some Task contract examples in the documentation that runs immediately or doesn't run at all.
For example:
So I expect, that if it's for example October 2022, the nextEvent would return duration in ms to the 1st day of April 2023.
Instead, it returns: 0
The same thing with other examples: "Sun 17:", "20th 17:15", "Apr Sun :30", "2nd :30", "Sun 3rd 00:", "Sun 5h 30m"
"15th 100s" nextEvent function returns -1, so when you use the scheduler, it doesn't run the task immediately, it simply never schedules the event.
So almost every example is not working.
Some metatests
I'd like to create a PR with fixing the behavior and adding proper tests if it's okay.
The text was updated successfully, but these errors were encountered: