Skip to content

Conversation

@kierandoonan
Copy link

Previously parse_element worked with both */int and int-int/int step formats, but would throw an error when doing int/int (e.g. 1/5).

I've added a spec that covers this and a fix for it.

Kieran Doonan added 3 commits January 11, 2016 12:28
Previously parse_element worked with both */int and int-int/int step
formats, but would throw an error when doing int/int (e.g. 1/5).
["15-59/15 * * * *", "2014-02-01 15:36", "2014-02-01 15:30"],
["15-59/15 * * * *", "2014-02-01 15:45", "2014-02-01 15:30"],
["15-59/15 * * * *", "2014-02-01 15:46", "2014-02-01 15:45"],
["15/15 * * * *", "2014-02-01 15:46", "2014-02-01 15:45"]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also add a spec for #nextto have that covered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants