diff --git a/shared/domain/activityField/signInField.ts b/shared/domain/activityField/signInField.ts index 6b728f373..0661f0895 100644 --- a/shared/domain/activityField/signInField.ts +++ b/shared/domain/activityField/signInField.ts @@ -97,7 +97,7 @@ export class SignInData extends ActivityBase { if (this.type === ACTIVITY_TYPE.NEW_PLAYER_SIGN_IN) { this.roundIndex = 1; } - this.todayIndex = Math.ceil((moment(date).valueOf() - this.beginTime) / (24 * 60 * 60 * 1000)); + this.todayIndex = Math.ceil((moment().valueOf() - this.beginTime) / (24 * 60 * 60 * 1000)); }