From 567f5c1aa076eaaacb2d8379155ac8e8172dea20 Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Mon, 10 Jan 2022 17:38:02 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=B6=E5=9B=AD=E3=80=91=E5=8D=87?= =?UTF-8?q?=E7=BA=A7=E5=80=92=E8=AE=A1=E6=97=B6=E6=98=BE=E7=A4=BA=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GeneralPanel/View2/GeneralInfoPopup_HomeLandUpgrade.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View2/GeneralInfoPopup_HomeLandUpgrade.lua b/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View2/GeneralInfoPopup_HomeLandUpgrade.lua index 1e32a52fea..0ad3bc92b7 100644 --- a/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View2/GeneralInfoPopup_HomeLandUpgrade.lua +++ b/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View2/GeneralInfoPopup_HomeLandUpgrade.lua @@ -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