From 4c3b65c5c134a53079dd09193a1fece79d032288 Mon Sep 17 00:00:00 2001 From: luying Date: Thu, 4 May 2023 16:55:22 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E6=B4=BB=E5=8A=A8):=20?= =?UTF-8?q?=E8=BF=94=E5=88=A9=E9=80=BB=E8=BE=91=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/domain/activityField/rebateField.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/domain/activityField/rebateField.ts b/shared/domain/activityField/rebateField.ts index e2c2a4602..49d11d7b4 100644 --- a/shared/domain/activityField/rebateField.ts +++ b/shared/domain/activityField/rebateField.ts @@ -54,7 +54,7 @@ export class RebateData extends ActivityBase { this.playerCreateTime = createTime; this.nextRefreshTime = moment('2100-01-01').valueOf(); this.endTime = moment('2100-01-01').valueOf(); - this.todayIndex = deltaDays(moment(createTime).toDate(), new Date) + 1; + this.todayIndex = deltaDays(moment(createTime * 1000).toDate(), new Date) + 1; } public initData(data: string) {