mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-27 21:33:09 +02:00
[Client] Fix bug
This commit is contained in:
parent
8454bddf28
commit
585b4ec89d
1 changed files with 1 additions and 1 deletions
|
@ -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 });
|
||||
|
|
Loading…
Reference in a new issue