From 585b4ec89d0b664fbaa192804ab399b1cd8ac9a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?syuilo=E2=AD=90=EF=B8=8F?= Date: Tue, 14 Mar 2017 06:36:58 +0900 Subject: [PATCH] [Client] Fix bug --- src/web/app/common/tags/activity-table.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 });