bunkat / 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.

Home Page:http://bunkat.github.io/later/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid schedule for .recur().every(360).second()

aviranco opened this issue · comments

every X that is higher than 60 produces an invalid schedule.

For example: later.parse.recur().every(360).second()

Produces:
{
"schedules": [
{
"s": [
0
]
}
],
"exceptions": []
}

which is every 1 minute instead of every 5 minutes.