♻️ 迁移recordReq

This commit is contained in:
BTMuli
2026-04-14 21:46:52 +08:00
parent 6f6959d987
commit b09097dd3c
7 changed files with 285 additions and 185 deletions

View File

@@ -156,8 +156,8 @@ function getType(type: number): string {
}
function getTimeStr(pool: TGApp.App.Gacha.PoolItem): string {
const startTime = timestampToDate(Date.parse(pool.from));
const endTime = timestampToDate(Date.parse(pool.to));
const startTime = timestampToDate(new Date(pool.from).getTime());
const endTime = timestampToDate(new Date(pool.to).getTime());
return `${startTime} ~ ${endTime}`;
}