d
This commit is contained in:
parent
661dec47d4
commit
5b3d9efaf5
@ -648,7 +648,7 @@
|
||||
const next_day_schedule = (e) => {
|
||||
e.preventDefault();
|
||||
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);
|
||||
day.setDate(day.getDate() + 1);
|
||||
init_schedules(day);
|
||||
|
Loading…
Reference in New Issue
Block a user