"मोड्युल:TimeAgo" को बिचमी भिन्नता
Content deleted Content added
ना en:Module:TimeAgo देखि २७ पुनरावलोकनहरू आयात भयो |
fix unintended globals per Template talk:Time ago#Template-protected edit request on 26 March 2018 |
||
पंक्ति ६:
-- Table to convert entered text values to numeric values.
local timeText = {
['seconds'] = 1,
['minutes'] = 60,
पंक्ति १७:
-- Table containing tables of possible units to use in output.
local timeUnits = {
[1] = { 'second', 'seconds', "second's", "seconds'" },
[60] = { 'minute', 'minutes', "minutes'", "minutes'" },
पंक्ति ३९:
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
|