Fix weekday in submission chart

This commit is contained in:
cuom1999 2020-12-25 19:36:48 -06:00
parent 161f8ac023
commit 8e1e3b246a

View file

@ -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,
});