Modul:Time/data: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Farras (bicara | kontrib)
.
 
Farras (bicara | kontrib)
k fix
 
(1 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 7:
 
local cfg = {
['default_df'] = 'mdydmy', -- default date format when |<df> and |df= omitted or empty
['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};, ['januari'] = 1, ['februari'] = 2, ['maret'] = 3, ['mei'] = 5, ['juni'] = 6,
['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. 2ndMinggu Sundayke-2 in MarchMaret; also last; empty string if not observed
dst_ends = '', -- (required if dst_begins is set) daylight saving ends; e.g. 1stMinggu Sunday inke-1 November; ignored if dst_begins not set
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 = 'lastMinggu Sundayterakhir of MarchMaret',
dst_ends = 'lastMinggu Sundayterakhir of OctoberOktober',
dst_time = '01:00 UTC', -- 01:00 standard time is same as 01:00 UTC
article = 'TimeWaktu indi theBritania United KingdomRaya'
},
['gmt-ie'] = { -- ist is shared with Indian Standard Time so use gmt-ie
Baris 153 ⟶ 154:
utc_offset = '00:00',
df = 'dmy',
dst_begins = 'lastMinggu Sundayterakhir of MarchMaret',
dst_ends = 'lastMinggu Sundayterakhir of OctoberOktober',
dst_time = '01:00 UTC', -- 01:00 standard time is same as 01:00 UTC
article = 'TimeWaktu indi IrelandIrlandia'
},
['wet'] = {
Baris 163 ⟶ 164:
utc_offset = '00:00',
df = 'dmy',
dst_begins = 'lastMinggu Sundayterakhir of MarchMaret',
dst_ends = 'lastMinggu Sundayterakhir of OctoberOktober',
dst_time = '01:00 UTC', -- 01:00 standard time is same as 01:00 UTC
article = 'WesternWaktu EuropeanEropa TimeBarat'
},
['cet'] = {
Baris 173 ⟶ 174:
utc_offset = '01:00',
df = 'dmy',
dst_begins = 'lastMinggu Sundayterakhir of MarchMaret',
dst_ends = 'lastMinggu Sundayterakhir of OctoberOktober',
dst_time = '01:00 UTC', -- 02:00 standard time is same as 01:00 UTC
article = 'CentralWaktu EuropeanEropa TimeTengah'
},
['eet'] = {
Baris 183 ⟶ 184:
utc_offset = '02:00',
df = 'dmy',
dst_begins = 'lastMinggu Sundayterakhir of MarchMaret',
dst_ends = 'lastMinggu Sundayterakhir of OctoberOktober',
dst_time = '01:00 UTC', -- 03:00 standard time is same as 01:00 UTC
article = 'EasternWaktu EuropeanEropa TimeTimur'
},
['kalt'] = {
Baris 196 ⟶ 197:
dst_ends = '',
dst_time = '',
article = 'KaliningradWaktu TimeKaliningrad'
},
['msk'] = {
Baris 206 ⟶ 207:
dst_ends = '',
dst_time = '',
article = 'MoscowWaktu TimeMoskwa'
},
['samt'] = {
Baris 216 ⟶ 217:
dst_ends = '',
dst_time = '',
article = 'SamaraWaktu TimeSamara'
},
['yekt'] = {
Baris 226 ⟶ 227:
dst_ends = '',
dst_time = '',
article = 'YekaterinburgWaktu TimeYekaterinburg'
},
['pkt'] = {
Baris 236 ⟶ 237:
dst_ends = '',
dst_time = '',
article = 'PakistanWaktu StandardStandar TimePakistan'
},
['ist'] = {
Baris 245 ⟶ 246:
dst_ends = '',
dst_time = '',
article = 'IndianWaktu StandardStandar TimeIndia'
},
['slst'] = {
Baris 254 ⟶ 255:
dst_ends = '',
dst_time = '',
article = 'SriWaktu LankaStandar StandardSri TimeLanka'
},
['npt'] = {
Baris 264 ⟶ 265:
dst_ends = '',
dst_time = '',
article = 'NepalWaktu TimeNepal'
},
['bst'] = {
Baris 273 ⟶ 274:
dst_ends = '',
dst_time = '',
article = 'BangladeshWaktu StandardStandar TimeBangladesh'
},
['omst'] = {
Baris 283 ⟶ 284:
dst_ends = '',
dst_time = '',
article = 'OmskWaktu TimeOmsk'
},
['krat'] = {
Baris 293 ⟶ 294:
dst_ends = '',
dst_time = '',
article = 'KrasnoyarskWaktu TimeKrasnoyarsk'
},
['wib'] = { -- western indonesia
Baris 303 ⟶ 304:
dst_ends = '',
dst_time = '',
article = 'TimeWaktu indi Indonesia'
},
['awst'] = {
Baris 313 ⟶ 314:
dst_ends = '',
dst_time = '',
article = 'TimeWaktu indi Australia'
},
['bt'] = { -- same as China standard time (CST)
Baris 323 ⟶ 324:
dst_ends = '',
dst_time = '',
article = 'TimeWaktu indi ChinaTiongkok'
},
['irkt'] = {
Baris 333 ⟶ 334:
dst_ends = '',
dst_time = '',
article = 'IrkutskWaktu TimeIrkutsk'
},
['sst'] = {
Baris 343 ⟶ 344:
dst_ends = '',
dst_time = '',
article = 'SingaporeWaktu StandardStandar TimeSingapore',
},
['wita'] = { -- central
Baris 353 ⟶ 354:
dst_ends = '',
dst_time = '',
article = 'TimeWaktu indi Indonesia'
},
['jst'] = {
Baris 363 ⟶ 364:
dst_ends = '',
dst_time = '',
article = 'JapanWaktu StandardStandar TimeJepang'
},
['kst'] = {
Baris 374 ⟶ 375:
dst_time = '',
dst_e_time = '',
article = 'TimeWaktu in Southdi Korea Selatan'
},
['wit'] = { -- eastern Indonesia (same as old template's eit)
Baris 384 ⟶ 385:
dst_ends = '',
dst_time = '',
article = 'TimeWaktu indi Indonesia'
},
['yakt'] = {
Baris 394 ⟶ 395:
dst_ends = '',
dst_time = '',
article = 'YakutskWaktu TimeYakutsk'
},
['acst'] = { -- Northern Territory, South Australia time
Baris 401 ⟶ 402:
utc_offset = '09:30',
df = 'dmy',
dst_begins = 'firstMinggu Sundaypertama in OctoberOktober',
dst_ends = 'firstMinggu Sunday inpertama April',
dst_time = '02:00',
dst_e_time = '03:00',
article = 'TimeWaktu indi Australia'
},
['aest'] = { -- QLD, NSW, TAS, VIC, ACT
Baris 412 ⟶ 413:
utc_offset = '10:00',
df = 'dmy',
dst_begins = 'firstMinggu Sundaypertama in OctoberOktober',
dst_ends = 'firstMinggu Sunday inpertama April',
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 = 'TimeWaktu indi Australia'
},
['chst'] = {
Baris 426 ⟶ 427:
dst_ends = '',
dst_time = '',
article = 'ChamorroZona TimeWaktu ZoneChamorro'
},
['vlat'] = {
Baris 436 ⟶ 437:
dst_ends = '',
dst_time = '',
article = 'VladivostokWaktu TimeVladivostok'
},
['sret'] = {
Baris 446 ⟶ 447:
dst_ends = '',
dst_time = '',
article = 'SrednekolymskWaktu TimeSrednekolymsk'
},
['nzst'] = {
Baris 453 ⟶ 454:
utc_offset = '12:00',
df = 'dmy',
dst_begins = 'lastMinggu Sunday interakhir September',
dst_ends = 'firstMinggu Sunday inpertama April',
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 = 'TimeWaktu indi NewSelandia ZealandBaru'
},
['pett'] = {
Baris 467 ⟶ 468:
dst_ends = '',
dst_time = '',
article = 'KamchatkaWaktu TimeKamchatka'
},
['idle'] = { -- international dateline east
Baris 488 ⟶ 489:
utc_offset = '-03:00',
df = 'dmy', -- because France
dst_begins = '2ndMinggu Sundayke-2 in MarchMaret', -- North American rules
dst_ends = '1stMinggu Sunday inke-1 November',
dst_time = '02:00',
article = 'UTC−03:00'
Baris 498 ⟶ 499:
utc_offset = '-03:00',
df = 'dmy',
dst_begins = 'lastMinggu Sundayterakhir in MarchMaret',
dst_ends = 'lastMinggu Sundayterakhir in OctoberOktober',
dst_time = '01:00 UTC',
article = 'TimeWaktu indi Denmark'
},
['nst'] = {
Baris 508 ⟶ 509:
utc_offset = '-03:30',
df = 'dmy',
dst_begins = '2ndMinggu Sundayke-2 in MarchMaret',
dst_ends = '1stMinggu Sunday inke-1 November',
dst_time = '02:00',
article = 'NewfoundlandWaktu StandardStandar TimeNewfoundland'
},
['ast'] = {
Baris 518 ⟶ 519:
utc_offset = '-04:00',
df = 'dmy',
dst_begins = '2ndMinggu Sundayke-2 in MarchMaret',
dst_ends = '1stMinggu Sunday inke-1 November',
dst_time = '02:00',
article = 'AtlanticZona TimeWaktu ZoneAtlantik'
},
['est'] = {
Baris 528 ⟶ 529:
utc_offset = '-05:00',
df = 'mdy',
dst_begins = '2ndMinggu Sundayke-2 in MarchMaret',
dst_ends = '1stMinggu Sunday inke-1 November',
dst_time = '02:00',
article = 'EasternZona TimeWaktu ZoneTimur'
},
['cst'] = {
Baris 538 ⟶ 539:
utc_offset = '-06:00',
df = 'mdy',
dst_begins = '2ndMinggu Sundayke-2 in MarchMaret',
dst_ends = '1stMinggu Sunday inke-1 November',
dst_time = '02:00',
article = 'CentralZona TimeWaktu ZoneTengah'
},
['mst'] = {
Baris 548 ⟶ 549:
utc_offset = '-07:00',
df = 'mdy',
dst_begins = '2ndMinggu Sundayke-2 in MarchMaret',
dst_ends = '1stMinggu Sunday inke-1 November',
dst_time = '02:00',
article = 'MountainZona TimeWaktu ZonePegunungan'
},
['pst'] = {
Baris 558 ⟶ 559:
utc_offset = '-08:00',
df = 'mdy',
dst_begins = '2ndMinggu Sundayke-2 in MarchMaret',
dst_ends = '1stMinggu Sunday inke-1 November',
dst_time = '02:00',
article = 'PacificZona TimeWaktu ZonePasifik'
},
['akst'] = {
Baris 568 ⟶ 569:
utc_offset = '-09:00',
df = 'mdy',
dst_begins = '2ndMinggu Sundayke-2 in MarchMaret',
dst_ends = '1stMinggu Sunday inke-1 November',
dst_time = '02:00',
article = 'AlaskaZona TimeWaktu ZoneAlaska'
},
['hast'] = { -- same as AleutST and HST
Baris 578 ⟶ 579:
utc_offset = '-10:00',
df = 'mdy',
dst_begins = '2ndMinggu Sundayke-2 in MarchMaret',
dst_ends = '1stMinggu Sunday inke-1 November',
dst_time = '02:00',
article = 'Hawaii–AleutianZona TimeWaktu ZoneHawaii–Aleut'
},
['idlw'] = { -- international dateline west
Baris 601 ⟶ 602:
dst_ends = '',
dst_time = '',
article = 'AnywhereDi onmana Earthsaja di Bumi'
},
 
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 = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['b'] = {abbr = 'B', utc_offset = '02:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['c'] = {abbr = 'C', utc_offset = '03:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['c*'] = {abbr = 'C*', utc_offset = '03:30', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['d'] = {abbr = 'D', utc_offset = '04:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['d*'] = {abbr = 'D*', utc_offset = '04:30', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['e'] = {abbr = 'E', utc_offset = '05:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['e*'] = {abbr = 'E*', utc_offset = '05:30', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['e+'] = {abbr = 'E†', utc_offset = '05:45', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['f'] = {abbr = 'F', utc_offset = '06:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['f*'] = {abbr = 'F*', utc_offset = '06:30', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['g'] = {abbr = 'G', utc_offset = '07:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['h'] = {abbr = 'H', utc_offset = '08:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['h*'] = {abbr = 'H*', utc_offset = '08:30', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['i'] = {abbr = 'I', utc_offset = '09:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['i*'] = {abbr = 'I*', utc_offset = '09:30', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['k'] = {abbr = 'K', utc_offset = '10:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['k*'] = {abbr = 'K*', utc_offset = '10:30', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['l'] = {abbr = 'L', utc_offset = '11:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['l*'] = {abbr = 'L*', utc_offset = '11:30', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['m'] = {abbr = 'M', utc_offset = '12:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['m++'] = {abbr = 'M‡', utc_offset = '12:45', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['m*'] = {abbr = 'M*', utc_offset = '13:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['m+'] = {abbr = 'M†', utc_offset = '14:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['n'] = {abbr = 'N', utc_offset = '-01:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['o'] = {abbr = 'O', utc_offset = '-02:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['p'] = {abbr = 'P', utc_offset = '-03:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['p*'] = {abbr = 'P*', utc_offset = '-03:30', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['q'] = {abbr = 'Q', utc_offset = '-04:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['q*'] = {abbr = 'Q*', utc_offset = '-04:30', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['r'] = {abbr = 'R', utc_offset = '-05:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['s'] = {abbr = 'S', utc_offset = '-06:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['t'] = {abbr = 'T', utc_offset = '-07:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['u'] = {abbr = 'U', utc_offset = '-08:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['u*'] = {abbr = 'U*', utc_offset = '-08:30', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['v'] = {abbr = 'V', utc_offset = '-09:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['v*'] = {abbr = 'V*', utc_offset = '-09:30', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['w'] = {abbr = 'W', utc_offset = '-10:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['x'] = {abbr = 'X', utc_offset = '-11:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['y'] = {abbr = 'Y', utc_offset = '-12:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
['z'] = {abbr = 'Z', utc_offset = '±00:00', df = 'iso', article = 'ListDaftar ofzona militarywaktu time zonesmiliter'},
 
------------------------------< U T C O F F S E T S >--------------------------------------------------------