diff --git a/layout.html b/layout.html index 884e148..64b697a 100644 --- a/layout.html +++ b/layout.html @@ -618,7 +618,7 @@ }); const init_schedules = (day) => { - const day_of_schedule = day || new Date(Date.now()); + const day_of_schedule = day || Date.now(); for (let i = 0; i < 8; i++) { if (i === 0) {