Content deleted Content added
synch from live; |
No edit summary |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 10:
['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'
['12']=true,
};
['err_msg'] = '<span style="font-size:100%" class="error">{{
['err_text'] = {
['bad_def'] = 'incomplete definition for $1',
['bad_df_pair'] = 'both of |df-cust-a= and |df-cust-p required',
['bad_dst'] = 'error calculating dst timestamps',
['bad_format'] = 'invalid date format $1',
Line 27 ⟶ 30:
['test_time'] = 'malformed or incomplete _TEST_TIME_',
['unknown_tz'] = 'unknown timezone $1',
['missing_tz'] = 'missing required timezone',
},
Line 36 ⟶ 40:
dmy_date = 'j F Y',
mdy_date = 'F j, Y',
dmy12 = 'g:i a, j F Y', -- 12hr time and date
Line 48 ⟶ 51:
},
['refresh-label'] = 'refresh',
-- for dst calculations
days = {['sunday'] = 0, ['monday'] = 1, ['tuesday'] = 2, ['wednesday'] = 3, ['thursday'] = 4, ['friday'] = 5, ['saturday'] = 6},
Line 56 ⟶ 60:
-- parameter list
aliases = {
['dateonly'] = {'dateonly'},
['df'] = {'df'},
['df-cust'] = {'df-cust'},
['df-cust-a'] = {'df-cust-a'},
['df-cust-p'] = {'df-cust-p'},
['dst'] = {'dst'},
['hide-refresh'] = {'hide-refresh'},
['hide-tz'] = {'hide-tz'},
['lang'] = {'lang'},
['timeonly'] = {'timeonly'},
['unlink-tz'] = {'unlink-tz'},
}
Line 88 ⟶ 96:
['pt'] = 'pst',
['akt'] = 'akst',
['
['pmdt'] = 'pmst', -- dst aliases west of utc
Line 99 ⟶ 107:
['pdt'] = 'pst',
['akdt'] = 'akst',
['hdt'] = '
['hadt'] = 'hst',
}
Line 182 ⟶ 191:
dst_time = '01:00 UTC', -- 03:00 standard time is same as 01:00 UTC
article = 'Eastern European Time'
},
['ilst'] = {
abbr = 'IST',
dst_abbr = 'IDT',
utc_offset = '02:00',
df = 'dmy',
dst_begins = 'last Friday in March',
dst_ends = 'last Sunday in October',
dst_time = '02:00',
article = 'Time in Israel'
},
['kalt'] = {
Line 192 ⟶ 211:
dst_time = '',
article = 'Kaliningrad Time'
},
['sast'] = {
abbr = 'SAST',
dst_abbr = '',
utc_offset = '02:00',
df = 'dmy',
dst_begins = '',
dst_ends = '',
dst_time = '',
dst_e_time = '',
article = 'South African Standard Time'
},
['msk'] = {
Line 202 ⟶ 232:
dst_time = '',
article = 'Moscow Time'
},
['irst'] = {
abbr = 'IRST',
dst_abbr = '',
utc_offset = '03:30',
df = 'dmy',
dst_begins = '',
dst_ends = '',
dst_time = '',
article = 'Iran Standard Time'
},
['samt'] = {
Line 213 ⟶ 253:
article = 'Samara Time'
},
['
abbr = '
dst_abbr = '',
utc_offset = '05:00',
Line 221 ⟶ 261:
dst_ends = '',
dst_time = '',
dst_e_time = '',
article = 'Time in Kazakhstan'
},
['mvt'] = {
abbr = 'MVT',
dst_abbr = '',
utc_offset = '05:00',
df = 'dmy',
dst_begins = '',
dst_ends = '',
dst_time = '',
article = 'Time in Maldives'
},
['pkt'] = {
Line 232 ⟶ 283:
dst_time = '',
article = 'Pakistan Standard Time'
},
['yekt'] = {
abbr = 'YEKT',
dst_abbr = '',
utc_offset = '05:00',
df = 'dmy',
dst_begins = '',
dst_ends = '',
dst_time = '',
article = 'Yekaterinburg Time'
},
['ist'] = {
Line 279 ⟶ 340:
dst_time = '',
article = 'Omsk Time'
},
['mmt'] = {
abbr = 'MMT',
dst_abbr = '',
utc_offset = '06:30',
df = 'dmy',
dst_begins = '',
dst_ends = '',
dst_time = '',
article = 'Myanmar Standard Time'
},
['krat'] = {
Line 329 ⟶ 400:
dst_time = '',
article = 'Irkutsk Time'
},
['myt'] = {
abbr = 'MYT',
dst_abbr = '',
utc_offset = '08:00',
df = 'dmy',
dst_begins = '',
dst_ends = '',
dst_time = '',
article = 'Time in Malaysia'
},
['pht'] = {
abbr = 'PHT',
dst_abbr = '',
utc_offset = '08:00',
df = 'mdy',
dst_begins = '',
dst_ends = '',
dst_time = '',
article = 'Philippine Standard Time',
},
['sst'] = {
Line 359 ⟶ 450:
dst_time = '',
article = 'Japan Standard Time'
},
['kpt'] = {
abbr = 'PYT',
dst_abbr = '',
utc_offset = '09:00',
df = 'dmy',
dst_begins = '',
dst_ends = '',
dst_time = '',
article = 'Time in North Korea'
},
['kst'] = {
Line 432 ⟶ 533:
dst_time = '',
article = 'Vladivostok Time'
},
['magt'] = {
abbr = 'MAGT',
dst_abbr = '',
utc_offset = '11:00',
df = 'dmy',
dst_begins = '',
dst_ends = '',
dst_time = '',
article = 'Magadan Time'
},
['sret'] = {
Line 478 ⟶ 589:
------------------------------< W E S T U T C - H H : M M >--------------------------------------------------
['gft'] = {
abbr = 'GFT',
dst_abbr = '',
utc_offset = '-03:00',
df = 'dmy',
dst_begins = '',
dst_ends = '',
dst_time = '',
article = 'French Guiana Time'
},
['pmst'] = {
abbr = 'PMST',
Line 568 ⟶ 689:
article = 'Alaska Time Zone'
},
['
abbr = '
dst_abbr = '
utc_offset = '-10:00',
df = 'mdy',
|