diff options
| author | syuilo⭐️ <Syuilotan@yahoo.co.jp> | 2017-03-14 06:36:58 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-14 06:36:58 +0900 |
| commit | 585b4ec89d0b664fbaa192804ab399b1cd8ac9a2 (patch) | |
| tree | f6692132efb377135bcbc24a8afdaaca527b9609 /src | |
| parent | [Client] :v: (diff) | |
| download | misskey-585b4ec89d0b664fbaa192804ab399b1cd8ac9a2.tar.gz misskey-585b4ec89d0b664fbaa192804ab399b1cd8ac9a2.tar.bz2 misskey-585b4ec89d0b664fbaa192804ab399b1cd8ac9a2.zip | |
[Client] Fix bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/common/tags/activity-table.tag | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/common/tags/activity-table.tag b/src/web/app/common/tags/activity-table.tag index 9f4fa119fa..4374e0e9c3 100644 --- a/src/web/app/common/tags/activity-table.tag +++ b/src/web/app/common/tags/activity-table.tag @@ -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 }); |