[content] Coyhaique: Trust only a country's own zones, and give southern Chile its own clocks

This commit is contained in:
2026-11-17 18:49:27 +01:00
parent 22f55dc9fa
commit c2320a4517
4 changed files with 32 additions and 4 deletions
+12 -1
View File
@@ -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);