still include today
This commit is contained in:
parent
0b92cec911
commit
42e0c3a7b2
@ -63,7 +63,7 @@ export class Player {
|
||||
const statisticHistory = this.getStatisticHistory();
|
||||
const history: Record<string, PlayerHistory> = {};
|
||||
|
||||
for (let i = 1; i <= days; i++) {
|
||||
for (let i = 0; i <= days; i++) {
|
||||
const date = formatDateMinimal(getMidnightAlignedDate(getDaysAgoDate(i)));
|
||||
const playerHistory = statisticHistory[date];
|
||||
if (playerHistory !== undefined && Object.keys(playerHistory).length > 0) {
|
||||
|
Reference in New Issue
Block a user