军团活动:排行榜时间使用秒

This commit is contained in:
luying
2022-06-01 21:08:23 +08:00
parent e771bb20c5
commit 4693c03758
@@ -23,7 +23,7 @@ export class GateActivityObject {
} }
public getTimeGap() { public getTimeGap() {
return Date.now() - this.startTime; return Math.floor((Date.now() - this.startTime)/1000);
} }
public getGuilds() { public getGuilds() {