Questa pagina è protetta dallo spostamento
Questa pagina è protetta

Modulo:Fuso orario/Configurazione

Da Wikipedia, l'enciclopedia libera.
Vai alla navigazione Vai alla ricerca

Configurazione del Modulo:Fuso orario.


--[[
* Configurazione del modulo Fuso orario.
]]--

local config = {}

-- Per ottenere il fuso orario corrispondente di un elemento che non ha usato
-- la proprietà "considerato essere uguale a (P460)"
config.alias = {
	Q1536 = 'Q6574',    --Tempo Universale Coordinato (UTC±00:00)
	Q30192 = 'Q6574',   --Greenwich Mean Time (UTC±00:00)
	Q25989 = 'Q6655',   --Central European Time (UTC±01:00)
	Q2086913 = 'Q5385', --Central Time Zone (UTC-06:00)
	Q3134980 = 'Q2212', --Mountain Time Zone (UTC-07:00)
	Q847142 = 'Q2204'   --Pacific Daylight Time (UTC-08:00)
}

config.validTimezones = {
	Q2146 = true, --UTC-12:00
	Q2154 = true, --UTC-11:00
	Q2159 = true, --UTC-10:30
	Q2163 = true, --UTC-10:00
	Q2171 = true, --UTC-09:30
	Q2183 = true, --UTC-09:00
	Q2198 = true, --UTC-08:30
	Q2204 = true, --UTC-08:00
	Q2212 = true, --UTC-07:00
	Q5385 = true, --UTC-06:00
	Q5390 = true, --UTC-05:00
	Q5394 = true, --UTC-04:30
	Q5762 = true, --UTC-04:00
	Q6510 = true, --UTC-03:30
	Q6513 = true, --UTC-03:00
	Q6529 = true, --UTC-02:30
	Q6536 = true, --UTC-02:00
	Q6540 = true, --UTC-01:00
	Q6545 = true, --UTC-00:44
	Q6574 = true, --UTC±00:00
	Q6597 = true, --UTC+00:20
	Q6626 = true, --UTC+00:30
	Q6655 = true, --UTC+01:00
	Q17280831 = true, --UTC+01:24
	Q6706 = true, --UTC+01:30
	Q6723 = true, --UTC+02:00
	Q6749 = true, --UTC+02:30
	Q6760 = true, --UTC+03:00
	Q6773 = true, --UTC+03:30
	Q6779 = true, --UTC+04:00
	Q6792 = true, --UTC+04:30
	Q6796 = true, --UTC+04:51
	Q6806 = true, --UTC+05:00
	Q6828 = true, --UTC+05:30
	Q6849 = true, --UTC+05:40
	Q6890 = true, --UTC+05:45
	Q6906 = true, --UTC+06:00
	Q6923 = true, --UTC+06:30
	Q6940 = true, --UTC+07:00
	Q6959 = true, --UTC+07:20
	Q6971 = true, --UTC+07:30
	Q6985 = true, --UTC+08:00
	Q7023 = true, --UTC+08:30
	Q7035 = true, --UTC+08:45
	Q7041 = true, --UTC+09:00
	Q7048 = true, --UTC+09:30
	Q7051 = true, --UTC+09:45
	Q7056 = true, --UTC+10:00
	Q7065 = true, --UTC+10:30
	Q7069 = true, --UTC+11:00
	Q7080 = true, --UTC+11:30
	Q7105 = true, --UTC+12:00
	Q7110 = true, --UTC+12:45
	Q7118 = true, --UTC+13:00
	Q7127 = true, --UTC+13:45
	Q7130 = true  --UTC+14:00
}

-- verrà aggiunto a Modulo:Nazioni/Nazioni
config.iso3166 = {
	ABW = 'Q21203',
	AFG = 'Q889',
	AGO = 'Q916',
	AIA = 'Q25228',
	ALA = 'Q5689',
	ALB = 'Q222',
	AND = 'Q228',
	ARE = 'Q878',
	ARG = 'Q414',
	ARM = 'Q399',
	ASM = 'Q16641',
	ATA = 'Q51',
	ATF = 'Q129003',
	ATG = 'Q781',
	AUS = 'Q408',
	AUT = 'Q40',
	AZE = 'Q227',
	BDI = 'Q967',
	BEL = 'Q31',
	BEN = 'Q962',
	BES = 'Q27561',
	BFA = 'Q965',
	BGD = 'Q902',
	BGR = 'Q219',
	BHR = 'Q398',
	BHS = 'Q778',
	BIH = 'Q225',
	BLM = 'Q25362',
	BLR = 'Q184',
	BLZ = 'Q242',
	BMU = 'Q23635',
	BOL = 'Q750',
	BRA = 'Q155',
	BRB = 'Q244',
	BRN = 'Q921',
	BTN = 'Q917',
	BVT = 'Q23408',
	BWA = 'Q963',
	CAF = 'Q929',
	CAN = 'Q16',
	CCK = 'Q36004',
	CHE = 'Q39',
	CHL = 'Q298',
	CHN = 'Q148',
	CIV = 'Q1008',
	CMR = 'Q1009',
	COD = 'Q974',
	COG = 'Q971',
	COK = 'Q26988',
	COL = 'Q739',
	COM = 'Q970',
	CPV = 'Q1011',
	CRI = 'Q800',
	CUB = 'Q241',
	CUW = 'Q25279',
	CXR = 'Q31063',
	CYM = 'Q5785',
	CYP = 'Q229',
	CZE = 'Q213',
	DEU = 'Q183',
	DJI = 'Q977',
	DMA = 'Q784',
	DNK = 'Q35',
	DOM = 'Q786',
	DZA = 'Q262',
	ECU = 'Q736',
	EGY = 'Q79',
	ERI = 'Q986',
	ESH = 'Q6250',
	ESP = 'Q29',
	EST = 'Q191',
	ETH = 'Q115',
	FIN = 'Q33',
	FJI = 'Q712',
	FLK = 'Q9648',
	FRA = 'Q142',
	FRO = 'Q4628',
	FSM = 'Q702',
	GAB = 'Q1000',
	GBR = 'Q145',
	GEO = 'Q230',
	GGY = 'Q25230',
	GHA = 'Q117',
	GIB = 'Q1410',
	GIN = 'Q1006',
	GLP = 'Q17012',
	GMB = 'Q1005',
	GNB = 'Q1007',
	GNQ = 'Q983',
	GRC = 'Q41',
	GRD = 'Q769',
	GRL = 'Q223',
	GTM = 'Q774',
	GUF = 'Q3769',
	GUM = 'Q16635',
	GUY = 'Q734',
	HKG = 'Q8646',
	HMD = 'Q131198',
	HND = 'Q783',
	HRV = 'Q224',
	HTI = 'Q790',
	HUN = 'Q28',
	IDN = 'Q252',
	IMN = 'Q9676',
	IND = 'Q668',
	IOT = 'Q43448',
	IRL = 'Q27',
	IRN = 'Q794',
	IRQ = 'Q796',
	ISL = 'Q189',
	ISR = 'Q801',
	ITA = 'Q38',
	JAM = 'Q766',
	JEY = 'Q15706498',
	JOR = 'Q810',
	JPN = 'Q17',
	KAZ = 'Q232',
	KEN = 'Q114',
	KGZ = 'Q813',
	KHM = 'Q424',
	KIR = 'Q710',
	KNA = 'Q763',
	KOR = 'Q884',
	KWT = 'Q817',
	LAO = 'Q819',
	LBN = 'Q822',
	LBR = 'Q1014',
	LBY = 'Q1016',
	LCA = 'Q760',
	LIE = 'Q347',
	LKA = 'Q854',
	LSO = 'Q1013',
	LTU = 'Q37',
	LUX = 'Q32',
	LVA = 'Q211',
	MAC = 'Q14773',
	MAF = 'Q126125',
	MAR = 'Q1028',
	MCO = 'Q235',
	MDA = 'Q217',
	MDG = 'Q1019',
	MDV = 'Q826',
	MEX = 'Q96',
	MHL = 'Q709',
	MKD = 'Q221',
	MLI = 'Q912',
	MLT = 'Q233',
	MMR = 'Q836',
	MNE = 'Q236',
	MNG = 'Q711',
	MNP = 'Q16644',
	MOZ = 'Q1029',
	MRT = 'Q1025',
	MSR = 'Q13353',
	MTQ = 'Q17054',
	MUS = 'Q1027',
	MWI = 'Q1020',
	MYS = 'Q833',
	MYT = 'Q17063',
	NAM = 'Q1030',
	NCL = 'Q33788',
	NER = 'Q1032',
	NFK = 'Q31057',
	NGA = 'Q1033',
	NIC = 'Q811',
	NIU = 'Q34020',
	NLD = 'Q55',
	NOR = 'Q20',
	NPL = 'Q837',
	NRU = 'Q697',
	NZL = 'Q664',
	OMN = 'Q842',
	PAK = 'Q843',
	PAN = 'Q804',
	PCN = 'Q35672',
	PER = 'Q419',
	PHL = 'Q928',
	PLW = 'Q695',
	PNG = 'Q691',
	POL = 'Q36',
	PRI = 'Q1183',
	PRK = 'Q423',
	PRT = 'Q45',
	PRY = 'Q733',
	PSE = 'Q219060',
	PYF = 'Q30971',
	QAT = 'Q846',
	REU = 'Q17070',
	ROU = 'Q218',
	RUS = 'Q159',
	RWA = 'Q1037',
	SAU = 'Q851',
	SDN = 'Q1049',
	SEN = 'Q1041',
	SGP = 'Q334',
	SGS = 'Q35086',
	SHN = 'Q192184',
	SJM = 'Q842829',
	SLB = 'Q685',
	SLE = 'Q1044',
	SLV = 'Q792',
	SMR = 'Q238',
	SOM = 'Q1045',
	SPM = 'Q34617',
	SRB = 'Q403',
	SSD = 'Q958',
	STP = 'Q1039',
	SUR = 'Q730',
	SVK = 'Q214',
	SVN = 'Q215',
	SWE = 'Q34',
	SWZ = 'Q1050',
	SXM = 'Q26273',
	SYC = 'Q1042',
	SYR = 'Q858',
	TCA = 'Q18221',
	TCD = 'Q657',
	TGO = 'Q945',
	THA = 'Q869',
	TJK = 'Q863',
	TKL = 'Q36823',
	TKM = 'Q874',
	TLS = 'Q574',
	TON = 'Q678',
	TTO = 'Q754',
	TUN = 'Q948',
	TUR = 'Q43',
	TUV = 'Q672',
	TWN = 'Q865',
	TZA = 'Q924',
	UGA = 'Q1036',
	UKR = 'Q212',
	UMI = 'Q16645',
	URY = 'Q77',
	USA = 'Q30',
	UZB = 'Q265',
	VAT = 'Q237',
	VCT = 'Q757',
	VEN = 'Q717',
	VGB = 'Q25305',
	VIR = 'Q11703',
	VNM = 'Q881',
	VUT = 'Q686',
	WLF = 'Q35555',
	WSM = 'Q683',
	YEM = 'Q805',
	ZAF = 'Q258',
	ZMB = 'Q953',
	ZWE = 'Q954',

	-- non ISO
	ENG = 'Q21',
	WAL = 'Q25',
	SCO = 'Q22',
	NIR = 'Q26',
    ['ITA 1861-1946'] = 'Q38',
    ['Regno di Sardegna 1859'] = 'Q38',
	KOS = 'Q403',
	['KOS note'] = 'Q403',
	DDR = 'Q183',
	NAK = 'Q227',
	['Nagorno Karabakh'] = 'Q227'
}

return config