This commit is contained in:
Sundog Jones 2024-09-09 11:53:58 -04:00
parent f0a404b3c1
commit 8f41e0f5bd

View File

@ -641,12 +641,14 @@
const previous_day_schedule = (e) => {
e.preventDefault();
const day = new Date(e.target.getAttribute("data-day"));
console.dir(day);
day.setDate(day.getDate() - 1);
init_schedules(day);
}
const next_day_schedule = (e) => {
e.preventDefault();
const day = new Date(e.target.getAttribute("data-day"));
console.dir(day);
day.setDate(day.getDate() + 1);
init_schedules(day);
}