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 frame.args["hms"] == nil then
if frame.args["hms"] == true then
return p.secondsToHMS(seconds)
else
return p.secondsToHuman(seconds)
return p.secondsToHuman(seconds)
else
return p.secondsToHMS(seconds)
end
end
end
end


return p
return p
432

edits