Anonymous user
Module:Time ago: Difference between revisions
m
fix comment location
(try using a more efficient algorithm for calculating time units that weren't specified as an argument) |
m (fix comment location) |
||
Line 65:
if not min_magnitude_num then
min_magnitude_num = 1
end
▲ end -- Default to seconds if an invalid magnitude is entered.
local magnitude_num = math.max( min_magnitude_num, auto_magnitude_num )
|