*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.
When using next on a cron expression (eg */13 * * * * -> every 13 minutes), it seems to generate occurrences that are shorter than 13 minutes every once in a while.
Describe the bug
Actual behavior
When using
next
on a cron expression (eg*/13 * * * *
-> every 13 minutes), it seems to generate occurrences that are shorter than 13 minutes every once in a while.Eg:
produces:
After
5:52:00
, it should be6:05:00
and after6:52:00
(which technically should not be a possible time in the schedule), it should be7:05:00
.Expected behavior
It should compute the right time for the interval.
Code to reproduce
Checklist