Module:TimeSpan: Difference between revisions

m
Correct toStringLong missing milliseconds
m (camelCase functions)
m (Correct toStringLong missing milliseconds)
Line 141: Line 141:
end
end
if milliseconds > 0 then
if milliseconds > 0 then
table.insert(output, string.format('%d second%s', milliseconds, (milliseconds > 1) and "s" or ""))
table.insert(output, string.format('%d milliseconds%s', milliseconds, (milliseconds > 1) and "s" or ""))
end
end
2,875

edits