From 8e1e3b246a632280b595572f16b6a4e17144b6e8 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Fri, 25 Dec 2020 19:36:48 -0600 Subject: [PATCH] Fix weekday in submission chart --- templates/user/user-about.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/user/user-about.html b/templates/user/user-about.html index dd599bd..0b06c58 100644 --- a/templates/user/user-about.html +++ b/templates/user/user-about.html @@ -204,7 +204,7 @@ var isodate = day.toISOString().split('T')[0]; days.push({ date: new Date(day), - weekday: day.getDay(), + weekday: (day.getDay() + 6) % 7, day_num: day_num, activity: submission_activity[isodate] || 0, });