Module:TimeAgo: Difference between revisions

m
1 revision imported
m (1 revision imported)
en>Centrist16
m (1 revision imported)
Line 6:
 
-- Table to convert entered text values to numeric values.
local timeText = {
['seconds'] = 1,
['minutes'] = 60,
Line 17:
 
-- Table containing tables of possible units to use in output.
local timeUnits = {
[1] = { 'second', 'seconds', "second's", "seconds'" },
[60] = { 'minute', 'minutes', "minutes'", "minutes'" },
Line 39:
local spell_out = args.spellout
local spell_out_max = args.spelloutmax
 
-- Add a purge link if something (usually "yes") is entered into the purge parameter
if purge then
Anonymous user