diff --git a/frontend/util.lua b/frontend/util.lua index 5db604c9f..6a63d61d5 100644 --- a/frontend/util.lua +++ b/frontend/util.lua @@ -166,7 +166,7 @@ function util.secondsToHClock(seconds, withoutSeconds, hmsFormat) end else if hmsFormat then - return T(_("%1m%2s"), "0", string.format("%02.f", seconds)) + return T(_("%1m%2s"), "0", string.format("%02.f", math.floor(seconds))) else return "0'" .. string.format("%02.f", seconds) .. "''" end