Module:Common: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 329: Line 329:
end
end
local seconds = tonumber(frame.args[1])
local seconds = tonumber(frame.args[1])
if string.lower(frame.args["hms"]) == "true" then
if string.lower(frame.args["hms"] or '') == "true" then
return p.secondsToHMS(seconds)
return p.secondsToHMS(seconds)
else
else
432

edits