update 2026-07-08 18:11:50

This commit is contained in:
action committed 2026-07-08 18:11:50 +08:00
1 parent f21db3bfeb
commit 3cce89d35f
1959 files changed
+1523154 -15

No files matched your search

+2 -2
View File
@@ -1447,7 +1447,7 @@ function get_std_domain(domain)
return domain
end
function format_go_time(input)
function format_go_time(input, default)
input = input and trim(input)
local N = 0
if input and input:match("^%d+$") then
@@ -1465,7 +1465,7 @@ function format_go_time(input)
end
end
if N <= 0 then
return "0s"
return default or "0s"
end
local result = ""
local h = math.floor(N / 3600)