From 2801f41e3819f88b4b561028a1c9e191ab47de05 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 25 Nov 2024 14:36:38 +0100 Subject: [PATCH] woops --- changedetectionio/flask_app.py | 1 + changedetectionio/forms.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/changedetectionio/flask_app.py b/changedetectionio/flask_app.py index 65cc204772a..cc490b9e733 100644 --- a/changedetectionio/flask_app.py +++ b/changedetectionio/flask_app.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 import datetime +from zoneinfo import ZoneInfo import flask_login import locale diff --git a/changedetectionio/forms.py b/changedetectionio/forms.py index 98190483509..334629882fa 100644 --- a/changedetectionio/forms.py +++ b/changedetectionio/forms.py @@ -179,6 +179,8 @@ class ScheduleLimitForm(Form): sunday = FormField(ScheduleLimitDaySubForm) timezone_offset = StringField("Timezone to run in") + #@todo validate timezone_offset, either by name or + class TimeBetweenCheckForm(Form): weeks = IntegerField('Weeks', validators=[validators.Optional(), validators.NumberRange(min=0, message="Should contain zero or more seconds")])