Content deleted Content added
No edit summary |
No edit summary |
||
Line 9:
local cfg = {
['default_df'] = 'mdy', -- default date format when |<df> and |df= omitted or empty
['df_vals'] = {
['dmy']=true, ['dmy12']=true, -- also 'y'
['dow']=true,
['mdy']=true, ['mdy12']=true,
['iso']=true,
['y']=true, -- also 'dmy' and 'dmy12'
['ymd']=false, -- not permitted at en.wiki per [[MOS:DATESNO]] - not currently supported
['12']=true, ['24']=true,
};
['err_msg'] = '<span style="font-size:100%" class="error">{{time}} – $1 ([[Template:Time#Error messages|help]])</span>',
Line 28 ⟶ 36:
dmy_date = 'j F Y',
mdy_date = 'F j, Y',
-- ymd_date = 'Y F j', -- not permitted at en.wiki per [[MOS:DATESNO]] - not currently supported
dmy12 = 'g:i a, j F Y', -- 12hr time and date
mdy12 = 'g:i a, F j, Y',
dmy = 'H:i, j F Y', -- 24hr time and date
mdy = 'H:i, F j, Y',
|