From c83bb2af9b68252ff0ab44811ae2d290d539c95c Mon Sep 17 00:00:00 2001 From: Rene Luria Date: Fri, 5 Jun 2026 15:12:33 +0200 Subject: [PATCH] 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. --- myice/myice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myice/myice.py b/myice/myice.py index 2a7a9c6..6aaaf3f 100755 --- a/myice/myice.py +++ b/myice/myice.py @@ -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",