年兽活动时区修改

This commit is contained in:
by 2025-02-06 11:17:35 +08:00
parent cab256396e
commit 7aee41e78a
1 changed files with 1 additions and 0 deletions

View File

@ -959,6 +959,7 @@ func (r *RankMatchMgr) NianRankAward() {
endTimestamp := end.Unix()*/
timestamp := common.StrTimeToTs(startTime)
endTimestamp := common.StrTimeToTs(endTime)
end, _ := time.Parse(time.DateTime, endTime)
nowTime := time.Now().Unix()
if nowTime < timestamp || nowTime-86400 > endTimestamp {
return