dates!!
This commit is contained in:
parent
a3acb79cbf
commit
c7510abbe9
@ -618,7 +618,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
const init_schedules = (day) => {
|
const init_schedules = (day) => {
|
||||||
const day_of_schedule = day || Date.now();
|
const day_of_schedule = new Date(day) || new Date(Date.now());
|
||||||
|
|
||||||
for (let i = 0; i < 8; i++) {
|
for (let i = 0; i < 8; i++) {
|
||||||
if (i === 0) {
|
if (i === 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user