From dc475fe2b0b4b10e200cbba997418c9bc989b9d7 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 9f4fa119f..4374e0e9c 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 });