Skip to content
Snippets Groups Projects
Unverified Commit 4debad5d authored by hanfi's avatar hanfi
Browse files

fix valid date range in forms

parent ab49511b
No related branches found
No related tags found
No related merge requests found
...@@ -40,8 +40,8 @@ class TransportForm(FlaskForm): ...@@ -40,8 +40,8 @@ class TransportForm(FlaskForm):
validators=[ validators=[
DataRequired(), DataRequired(),
DateRange( DateRange(
min=datetime.date(year=2019, month=12, day=14), min=datetime.date(year=2023, month=7, day=17),
max=datetime.date(year=2020, month=1, day=7), max=datetime.date(year=2023, month=9, day=17),
), ),
], ],
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment