diff --git a/layout.html b/layout.html
index 88fd574..94418ae 100755
--- a/layout.html
+++ b/layout.html
@@ -831,7 +831,7 @@
if (!day) {
day = new Date();
}
- const api_url = "schedule.php?date=" + day.toISOString();
+ const api_url = "schedule.php?date=" + day.setHours(0).setMinutes(0).setSeconds(0).toISOString();
fetch(api_url)
.then((response) => {
if (response.ok) {