[fix] allow 0 as start of day

fixes #1
This commit is contained in:
Wojciech Kwolek 2021-11-17 20:08:55 +00:00
parent 5faa74daa9
commit a92a125154
3 changed files with 8 additions and 2 deletions

2
.envrc
View File

@ -1,2 +1,2 @@
export FLASK_APP=app
export FLASK_APP="app:create_app()"
export FLASK_DEBUG=1

7
README.md Normal file
View File

@ -0,0 +1,7 @@
yarn
yarn install
yarn build
source .envrc
flask digest clean
flask db upgrade
flask run

View File

@ -22,7 +22,6 @@ class SettingsForm(FlaskForm):
'Start of day hour',
widget=NumberInput(min=0, max=23),
validators=[
DataRequired(),
NumberRange(min=0, max=23)
]
)