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