Content deleted Content added
No edit summary |
BrandonXLF (talk | contribs) No edit summary |
||
Line 9:
local cfg = {
['default_df'] = 'mdy', -- default date format when |<df> and |df= omitted or empty
};▼
['err_msg'] = '<span style="font-size:100%" class="error">{{time}} – $1 ([[Template:Time#Error messages|help]])</span>',
Line 45 ⟶ 36:
iso = 'Y-m-d"T"H:i',
dow = 'l', -- day of the week
min = 'i', -- hour or minute only
h12 = 'g a',
h24 = 'H',
},
Line 56 ⟶ 51:
-- parameter list
aliases = {
['df'] = {'df','format'},
['dst'] = {'dst','ds'},
['dateonly'] = {'dateonly' , 'do', 'date', 'notime'},
['timeonly'] = {'timeonly' , 'to', 'time', 'nodate'},
['hide-refresh'] = {'hide-refresh', 'no-refresh'},
['hide-tz'] = {'hide-tz', '
['unlink-tz'] = {'unlink-tz','unlink','nolink'},
}
}
Line 75 ⟶ 70:
['irish standard time'] = 'gmt-ie',
['usz1'] = 'kalt', -- old form Kaliningrad time
['at'] = 'ast', -- alternate abbreviations west of utc▼
['et'] = 'est',▼
['ct'] = 'cst',▼
['pt'] = 'pst',▼
['akt'] = 'akst',▼
['hst'] = 'hast',▼
}
--[[--------------------------< D S T T I M E Z O N E S >------------------------------------------------------
]]
local dst_tz = {
['west'] = 'wet', -- dst aliases east of utc
Line 82 ⟶ 91:
['aedt'] = 'aest',
['nzdt'] = 'nzst',
▲ ['at'] = 'ast', -- alternate abbreviations west of utc
▲ ['et'] = 'est',
▲ ['ct'] = 'cst',
▲ ['pt'] = 'pst',
▲ ['akt'] = 'akst',
▲ ['hst'] = 'hast',
['pmdt'] = 'pmst', -- dst aliases west of utc
|