Fix weekday in submission chart
This commit is contained in:
parent
161f8ac023
commit
8e1e3b246a
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue