later icon indicating copy to clipboard operation
later copied to clipboard

Sunday

Open pekeler opened this issue 8 years ago • 1 comments

Fixes #152 (Sundays in cron can be either 0 or 7, Later only understood 0). This is better than the previous two PRs because this one also support ranges with 7 such as 5-7.

This implementation changes the existing parser such that it keeps the day-of-week represented as 0..7 (SUN..SUN) during parsing. And then only at the very end, right before returning the final set of schedules, do we change it to 1..7 (SUN..SAT) using the new postProcessSchedule() function.

pekeler avatar Jun 18 '16 06:06 pekeler

Per my work with Bree, I have an updated fork of this package called @breejs/later. See https://github.com/breejs/later if you would like to file this PR there.

niftylettuce avatar Aug 17 '20 14:08 niftylettuce