mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-24 22:19:41 +08:00
♻️ 迁移recordReq
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user