Modul:Time/data: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
. |
k fix |
||
(1 revisi perantara oleh pengguna yang sama tidak ditampilkan) | |||
Baris 7:
local cfg = {
['default_df'] = '
['df_vals'] = {
['dmy']=true,
Baris 50:
-- for dst calculations
days = {['sunday'] = 0, ['monday'] = 1, ['tuesday'] = 2, ['wednesday'] = 3, ['thursday'] = 4, ['friday'] = 5, ['saturday'] = 6, ['minggu'] = 0, ['senin'] = 1, ['selasa'] = 2, ['rabu'] = 3, ['kamis'] = 4, ['jumat'] = 5, ['sabtu'] = 6},
months = {['january'] = 1, ['february'] = 2, ['march'] = 3, ['april'] = 4, ['may'] = 5, ['june'] = 6,
['july'] = 7, ['august'] = 8, ['september'] = 9, ['october'] = 10, ['november'] = 11, ['december'] = 12
['juli'] = 7, ['agustus'] = 8, ['oktober'] = 10, ['desember'] = 12};
ordinals = {['1st'] = 1, ['first'] = 1, ['2nd'] = 2, ['second'] = 2, ['3rd'] = 3, ['third'] = 3, ['4th'] = 4, ['fourth'] = 4, ['5th'] = 5, ['fifth'] = 5, ['last'] = -1, ['ke-1'] = 1, ['pertama'] = 1, ['ke-2'] = 2, ['kedua'] = 2, ['ke-3'] = 3, ['ketiga'] = 3, ['ke-4'] = 4, ['keempat'] = 4, ['ke-5'] = 5, ['kelima'] = 5, ['terakhir'] = -1},
-- parameter list
Baris 122 ⟶ 123:
utc_offset = '00:00', -- (required) hours and minutes offset from UTC for this timezone; '+' is optional; '-' (hyphen-minus) is required for timezones west of 0 meridian
df = 'dmy', -- date format typically used in the time zone
dst_begins = '', -- daylight saving begins; e.g.
dst_ends = '', -- (required if dst_begins is set) daylight saving ends; e.g.
dst_time = '', -- (required if dst_begins is set) local time on the day that dst begins/ends; for EU DST rules specify utc time: e.g.: '01:00 UTC'
dst_e_time = '', -- local daylight saving time on the day that dst ends; only when different from dst_time; see acst for an example
Baris 143 ⟶ 144:
utc_offset = '00:00',
df = 'dmy',
dst_begins = '
dst_ends = '
dst_time = '01:00 UTC', -- 01:00 standard time is same as 01:00 UTC
article = '
},
['gmt-ie'] = { -- ist is shared with Indian Standard Time so use gmt-ie
Baris 153 ⟶ 154:
utc_offset = '00:00',
df = 'dmy',
dst_begins = '
dst_ends = '
dst_time = '01:00 UTC', -- 01:00 standard time is same as 01:00 UTC
article = '
},
['wet'] = {
Baris 163 ⟶ 164:
utc_offset = '00:00',
df = 'dmy',
dst_begins = '
dst_ends = '
dst_time = '01:00 UTC', -- 01:00 standard time is same as 01:00 UTC
article = '
},
['cet'] = {
Baris 173 ⟶ 174:
utc_offset = '01:00',
df = 'dmy',
dst_begins = '
dst_ends = '
dst_time = '01:00 UTC', -- 02:00 standard time is same as 01:00 UTC
article = '
},
['eet'] = {
Baris 183 ⟶ 184:
utc_offset = '02:00',
df = 'dmy',
dst_begins = '
dst_ends = '
dst_time = '01:00 UTC', -- 03:00 standard time is same as 01:00 UTC
article = '
},
['kalt'] = {
Baris 196 ⟶ 197:
dst_ends = '',
dst_time = '',
article = '
},
['msk'] = {
Baris 206 ⟶ 207:
dst_ends = '',
dst_time = '',
article = '
},
['samt'] = {
Baris 216 ⟶ 217:
dst_ends = '',
dst_time = '',
article = '
},
['yekt'] = {
Baris 226 ⟶ 227:
dst_ends = '',
dst_time = '',
article = '
},
['pkt'] = {
Baris 236 ⟶ 237:
dst_ends = '',
dst_time = '',
article = '
},
['ist'] = {
Baris 245 ⟶ 246:
dst_ends = '',
dst_time = '',
article = '
},
['slst'] = {
Baris 254 ⟶ 255:
dst_ends = '',
dst_time = '',
article = '
},
['npt'] = {
Baris 264 ⟶ 265:
dst_ends = '',
dst_time = '',
article = '
},
['bst'] = {
Baris 273 ⟶ 274:
dst_ends = '',
dst_time = '',
article = '
},
['omst'] = {
Baris 283 ⟶ 284:
dst_ends = '',
dst_time = '',
article = '
},
['krat'] = {
Baris 293 ⟶ 294:
dst_ends = '',
dst_time = '',
article = '
},
['wib'] = { -- western indonesia
Baris 303 ⟶ 304:
dst_ends = '',
dst_time = '',
article = '
},
['awst'] = {
Baris 313 ⟶ 314:
dst_ends = '',
dst_time = '',
article = '
},
['bt'] = { -- same as China standard time (CST)
Baris 323 ⟶ 324:
dst_ends = '',
dst_time = '',
article = '
},
['irkt'] = {
Baris 333 ⟶ 334:
dst_ends = '',
dst_time = '',
article = '
},
['sst'] = {
Baris 343 ⟶ 344:
dst_ends = '',
dst_time = '',
article = '
},
['wita'] = { -- central
Baris 353 ⟶ 354:
dst_ends = '',
dst_time = '',
article = '
},
['jst'] = {
Baris 363 ⟶ 364:
dst_ends = '',
dst_time = '',
article = '
},
['kst'] = {
Baris 374 ⟶ 375:
dst_time = '',
dst_e_time = '',
article = '
},
['wit'] = { -- eastern Indonesia (same as old template's eit)
Baris 384 ⟶ 385:
dst_ends = '',
dst_time = '',
article = '
},
['yakt'] = {
Baris 394 ⟶ 395:
dst_ends = '',
dst_time = '',
article = '
},
['acst'] = { -- Northern Territory, South Australia time
Baris 401 ⟶ 402:
utc_offset = '09:30',
df = 'dmy',
dst_begins = '
dst_ends = '
dst_time = '02:00',
dst_e_time = '03:00',
article = '
},
['aest'] = { -- QLD, NSW, TAS, VIC, ACT
Baris 412 ⟶ 413:
utc_offset = '10:00',
df = 'dmy',
dst_begins = '
dst_ends = '
dst_time = '02:00', -- begins at 02:00 AEST
dst_e_time = '03:00', -- ends at 02:00 AEST which is 03:00 AEDT
article = '
},
['chst'] = {
Baris 426 ⟶ 427:
dst_ends = '',
dst_time = '',
article = '
},
['vlat'] = {
Baris 436 ⟶ 437:
dst_ends = '',
dst_time = '',
article = '
},
['sret'] = {
Baris 446 ⟶ 447:
dst_ends = '',
dst_time = '',
article = '
},
['nzst'] = {
Baris 453 ⟶ 454:
utc_offset = '12:00',
df = 'dmy',
dst_begins = '
dst_ends = '
dst_time = '02:00', -- begins at 02:00 NZST
dst_e_time = '03:00', -- ends at 02:00 NZST which is 03:00 NZDT
article = '
},
['pett'] = {
Baris 467 ⟶ 468:
dst_ends = '',
dst_time = '',
article = '
},
['idle'] = { -- international dateline east
Baris 488 ⟶ 489:
utc_offset = '-03:00',
df = 'dmy', -- because France
dst_begins = '
dst_ends = '
dst_time = '02:00',
article = 'UTC−03:00'
Baris 498 ⟶ 499:
utc_offset = '-03:00',
df = 'dmy',
dst_begins = '
dst_ends = '
dst_time = '01:00 UTC',
article = '
},
['nst'] = {
Baris 508 ⟶ 509:
utc_offset = '-03:30',
df = 'dmy',
dst_begins = '
dst_ends = '
dst_time = '02:00',
article = '
},
['ast'] = {
Baris 518 ⟶ 519:
utc_offset = '-04:00',
df = 'dmy',
dst_begins = '
dst_ends = '
dst_time = '02:00',
article = '
},
['est'] = {
Baris 528 ⟶ 529:
utc_offset = '-05:00',
df = 'mdy',
dst_begins = '
dst_ends = '
dst_time = '02:00',
article = '
},
['cst'] = {
Baris 538 ⟶ 539:
utc_offset = '-06:00',
df = 'mdy',
dst_begins = '
dst_ends = '
dst_time = '02:00',
article = '
},
['mst'] = {
Baris 548 ⟶ 549:
utc_offset = '-07:00',
df = 'mdy',
dst_begins = '
dst_ends = '
dst_time = '02:00',
article = '
},
['pst'] = {
Baris 558 ⟶ 559:
utc_offset = '-08:00',
df = 'mdy',
dst_begins = '
dst_ends = '
dst_time = '02:00',
article = '
},
['akst'] = {
Baris 568 ⟶ 569:
utc_offset = '-09:00',
df = 'mdy',
dst_begins = '
dst_ends = '
dst_time = '02:00',
article = '
},
['hast'] = { -- same as AleutST and HST
Baris 578 ⟶ 579:
utc_offset = '-10:00',
df = 'mdy',
dst_begins = '
dst_ends = '
dst_time = '02:00',
article = '
},
['idlw'] = { -- international dateline west
Baris 601 ⟶ 602:
dst_ends = '',
dst_time = '',
article = '
},
Baris 607 ⟶ 608:
-- {{cite web |url=http://wwp.greenwichmeantime.com/info/timezone.htm |title=Military and Civilian Time Designations |accessdate=2016-03-25 |website=Greenwich Mean Time}}
--http://astro.ukho.gov.uk/nao/miscellanea/WMTZ/Wmtz160224.pdf
['a'] = {abbr = 'A', utc_offset = '01:00', df = 'iso', article = '
['b'] = {abbr = 'B', utc_offset = '02:00', df = 'iso', article = '
['c'] = {abbr = 'C', utc_offset = '03:00', df = 'iso', article = '
['c*'] = {abbr = 'C*', utc_offset = '03:30', df = 'iso', article = '
['d'] = {abbr = 'D', utc_offset = '04:00', df = 'iso', article = '
['d*'] = {abbr = 'D*', utc_offset = '04:30', df = 'iso', article = '
['e'] = {abbr = 'E', utc_offset = '05:00', df = 'iso', article = '
['e*'] = {abbr = 'E*', utc_offset = '05:30', df = 'iso', article = '
['e+'] = {abbr = 'E†', utc_offset = '05:45', df = 'iso', article = '
['f'] = {abbr = 'F', utc_offset = '06:00', df = 'iso', article = '
['f*'] = {abbr = 'F*', utc_offset = '06:30', df = 'iso', article = '
['g'] = {abbr = 'G', utc_offset = '07:00', df = 'iso', article = '
['h'] = {abbr = 'H', utc_offset = '08:00', df = 'iso', article = '
['h*'] = {abbr = 'H*', utc_offset = '08:30', df = 'iso', article = '
['i'] = {abbr = 'I', utc_offset = '09:00', df = 'iso', article = '
['i*'] = {abbr = 'I*', utc_offset = '09:30', df = 'iso', article = '
['k'] = {abbr = 'K', utc_offset = '10:00', df = 'iso', article = '
['k*'] = {abbr = 'K*', utc_offset = '10:30', df = 'iso', article = '
['l'] = {abbr = 'L', utc_offset = '11:00', df = 'iso', article = '
['l*'] = {abbr = 'L*', utc_offset = '11:30', df = 'iso', article = '
['m'] = {abbr = 'M', utc_offset = '12:00', df = 'iso', article = '
['m++'] = {abbr = 'M‡', utc_offset = '12:45', df = 'iso', article = '
['m*'] = {abbr = 'M*', utc_offset = '13:00', df = 'iso', article = '
['m+'] = {abbr = 'M†', utc_offset = '14:00', df = 'iso', article = '
['n'] = {abbr = 'N', utc_offset = '-01:00', df = 'iso', article = '
['o'] = {abbr = 'O', utc_offset = '-02:00', df = 'iso', article = '
['p'] = {abbr = 'P', utc_offset = '-03:00', df = 'iso', article = '
['p*'] = {abbr = 'P*', utc_offset = '-03:30', df = 'iso', article = '
['q'] = {abbr = 'Q', utc_offset = '-04:00', df = 'iso', article = '
['q*'] = {abbr = 'Q*', utc_offset = '-04:30', df = 'iso', article = '
['r'] = {abbr = 'R', utc_offset = '-05:00', df = 'iso', article = '
['s'] = {abbr = 'S', utc_offset = '-06:00', df = 'iso', article = '
['t'] = {abbr = 'T', utc_offset = '-07:00', df = 'iso', article = '
['u'] = {abbr = 'U', utc_offset = '-08:00', df = 'iso', article = '
['u*'] = {abbr = 'U*', utc_offset = '-08:30', df = 'iso', article = '
['v'] = {abbr = 'V', utc_offset = '-09:00', df = 'iso', article = '
['v*'] = {abbr = 'V*', utc_offset = '-09:30', df = 'iso', article = '
['w'] = {abbr = 'W', utc_offset = '-10:00', df = 'iso', article = '
['x'] = {abbr = 'X', utc_offset = '-11:00', df = 'iso', article = '
['y'] = {abbr = 'Y', utc_offset = '-12:00', df = 'iso', article = '
['z'] = {abbr = 'Z', utc_offset = '±00:00', df = 'iso', article = '
------------------------------< U T C O F F S E T S >--------------------------------------------------------
|