Code format
This commit is contained in:
@@ -5,9 +5,7 @@ local function formatTime(time)
|
||||
res = res - 60
|
||||
end
|
||||
s = res
|
||||
if s < 10 then
|
||||
s = string.format("0%d", s)
|
||||
end
|
||||
if s < 10 then s = string.format("0%d", s) end
|
||||
if type(s) ~= "string" then tostring(s) end
|
||||
return string.format("%d:%s", m, s)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user