Skip to content

fix for user selecting weekly#31

Open
michael-ciavattone wants to merge 1 commit into
shawnchin:masterfrom
amixa:master
Open

fix for user selecting weekly#31
michael-ciavattone wants to merge 1 commit into
shawnchin:masterfrom
amixa:master

Conversation

@michael-ciavattone

Copy link
Copy Markdown

fix bug when user selects weekly on Sunday (which would have the value of i (which was 0) and threw an error stating the value for days must be between 1-7)

…e of i (which was 0) and threw an error stating the value for days must be between 1-7)

@kiranshahi kiranshahi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

According to https://en.wikipedia.org/wiki/Cron#Overview 0-6 is valid. I says that "7 is also Sunday on some systems" note in some system

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