【家园】升级倒计时显示错误修改
parent
fa5d4001a2
commit
567f5c1aa0
|
@ -145,9 +145,9 @@ function this:CulculateTime(time)
|
|||
elseif time >= 60 and time < 3600 then
|
||||
return math.floor(time/60).."分"..(time%60).."秒"
|
||||
elseif time >= 3600 and time < 86400 then
|
||||
return math.floor(time/3600).."时"..math.floor(time/60).."分"
|
||||
return math.floor(time/3600).."时"..math.floor((time%3600)/60).."分"
|
||||
elseif time >= 86400 then
|
||||
return math.floor(time/86400).."天"..math.floor(time/3600).."时"
|
||||
return math.floor(time/86400).."天"..math.floor((time%86400)/3600).."时"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue