[content] Coyhaique: Trust only a country's own zones, and give southern Chile its own clocks
This commit is contained in:
@@ -45,7 +45,18 @@ describe('the town list', () => {
|
||||
['Anchorage', 'United States of America', 'America/Anchorage'], // Natural Earth: America/Juneau
|
||||
['Kryvyi Rih', 'Ukraine', 'Europe/Kyiv'], // never Simferopol's Moscow time
|
||||
['Apia', 'Samoa', 'Pacific/Apia'], // UTC+13 at 172° W
|
||||
['Pristina', 'Kosovo', 'Europe/Belgrade'] // no ISO code in Natural Earth
|
||||
['Pristina', 'Kosovo', 'Europe/Belgrade'], // no ISO code in Natural Earth
|
||||
// Natural Earth: America/Sao_Paulo, whose fixed UTC-3 once moved the capital onto a
|
||||
// southern zone's clock with no daylight saving (fixed 2026-11-17).
|
||||
['Santiago', 'Chile', 'America/Santiago'],
|
||||
['Valparaíso', 'Chile', 'America/Santiago'],
|
||||
['Puerto Montt', 'Chile', 'America/Santiago'], // north of Aysén: the main clock
|
||||
// Natural Earth predates the regional splits (Magallanes 2016, Aysén 2025).
|
||||
['Coyhaique', 'Chile', 'America/Coyhaique'],
|
||||
['Puerto Aisén', 'Chile', 'America/Coyhaique'],
|
||||
["Villa O'Higgins", 'Chile', 'America/Coyhaique'], // Natural Earth even files it under Argentina's Santa Cruz
|
||||
['Punta Arenas', 'Chile', 'America/Punta_Arenas'],
|
||||
['Puerto Williams', 'Chile', 'America/Punta_Arenas']
|
||||
])('%s, %s, keeps %s', (name, country, zone) => {
|
||||
const t = towns.find((x) => x.name === name && x.country === country);
|
||||
expect(t?.timeZone).toBe(zone);
|
||||
|
||||
Reference in New Issue
Block a user