diff --git a/PSILARTEMP.py b/PSILARTEMP.py index 35829d04c0b44f233a876931af0e30faf74a4c13..3edc985aa319ed12637c93fd282ab8032fc0e613 100755 --- a/PSILARTEMP.py +++ b/PSILARTEMP.py @@ -53,9 +53,9 @@ if year > today.year: exit(0) # If we are before the recurring start date, exit nicely -start_time = datetime.strptime(f"{year}-{recurring_start_date}","%Y-%m-%d") +start_time = local_timezone.localize(datetime.strptime(f"{year}-{recurring_start_date}","%Y-%m-%d")) if today <= start_time: - print(f"Today is before the configured start time of {start_time}. Exiting.") + print(f"Today is before the configured model start {start_time}. Exiting.") exit(0) # """