d
This commit is contained in:
parent
8f41e0f5bd
commit
a32c1e2faa
@ -640,14 +640,14 @@
|
||||
|
||||
const previous_day_schedule = (e) => {
|
||||
e.preventDefault();
|
||||
const day = new Date(e.target.getAttribute("data-day"));
|
||||
const day = Date.parse(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"));
|
||||
const day = Date.parse(e.target.getAttribute("data-day"));
|
||||
console.dir(day);
|
||||
day.setDate(day.getDate() + 1);
|
||||
init_schedules(day);
|
||||
|
Loading…
Reference in New Issue
Block a user