*Maintained fork of Later.* A javascript library for defining recurring schedules and calculating future (or past) occurrences for them. Includes support for using English phrases and Cron schedules. Works in Node and in the browser.
I'm using the following code snippet to schedule a routine that runs daily on the same hour later.parse.recur().every(1).dayOfMonth().on(10).hour().on(33).minute();
through the later.setInterval
Actual behavior
The execution takes place well for 2 days, but in the 3rd execution it is executed 3 hours in advance.
...
Expected behavior
I expect setInterval to run daily at the same time every day
Describe the bug
I'm using the following code snippet to schedule a routine that runs daily on the same hour
later.parse.recur().every(1).dayOfMonth().on(10).hour().on(33).minute();
through the later.setIntervalActual behavior
The execution takes place well for 2 days, but in the 3rd execution it is executed 3 hours in advance.
...
Expected behavior
I expect setInterval to run daily at the same time every day
...
Code to reproduce
Checklist