fix(schedule): Use midnight as schedule start date

Change date_start from current time to today at midnight so the
schedule fetch query properly covers the full day.
This commit is contained in:
2026-06-05 15:12:33 +02:00
parent 38e3564524
commit b1a792502f
+1 -1
View File
@@ -334,7 +334,7 @@ def get_schedule(num_days: int) -> str:
global userid
assert session and userid
now = datetime.datetime.now()
date_start = now
date_start = now.replace(hour=0, minute=0, second=0, microsecond=0)
date_end = date_start + datetime.timedelta(days=num_days)
r = session.post(
"https://app.myice.hockey/inc/processclubplanning.php",