don't allow 0 days for online days
Merge pull request #783 from adrianob/dont_allow_zero_days

don't allow 0 days for online days