diff --git a/projects/common/src/model/player.ts b/projects/common/src/model/player.ts index 60619ed..e981081 100644 --- a/projects/common/src/model/player.ts +++ b/projects/common/src/model/player.ts @@ -63,7 +63,7 @@ export class Player { const statisticHistory = this.getStatisticHistory(); const history: Record = {}; - 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) {