This commit is contained in:
Sundog Jones 2024-09-09 12:01:02 -04:00
parent 661dec47d4
commit 5b3d9efaf5

View File

@ -648,7 +648,7 @@
const next_day_schedule = (e) => { const next_day_schedule = (e) => {
e.preventDefault(); e.preventDefault();
console.dir(e.target); console.dir(e.target);
const day = Date.parse(document.querySelector("#current_day_indicator").getAttribute("data-day")); const day = new Date(Date.parse(document.querySelector("#current_day_indicator").getAttribute("data-day")));
console.dir(day); console.dir(day);
day.setDate(day.getDate() + 1); day.setDate(day.getDate() + 1);
init_schedules(day); init_schedules(day);