Skip to content
Snippets Groups Projects
Commit 585b4ec8 authored by syuilo⭐️'s avatar syuilo⭐️ Committed by GitHub
Browse files

[Client] Fix bug

parent 8454bddf
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@
: d.v > 0
? '#c6e48b'
: '#eee';
d.date.weekday = (new Date(d.date.year + '-' + d.date.month + '-' + d.date.day)).getDay();
d.date.weekday = (new Date(d.date.year, d.date.month - 1, d.date.day)).getDay();
if (d.date.weekday == 6) x++;
});
this.update({ data });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment