diff --git a/layout.html b/layout.html index e1083f9..1323ef7 100755 --- a/layout.html +++ b/layout.html @@ -784,7 +784,9 @@ const init_schedules = (day) => { const day_of_schedule = day ? new Date(Date.parse(day)) : new Date(); - day_of_schedule.setHours(0).setMinutes(0).setSeconds(0); + day_of_schedule.setHours(0); + day_of_schedule.setMinutes(0); + day_of_schedule.setSeconds(0); // set up header const current_day_indicator = document.querySelector("#current_day_indicator");