]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Update our mapping of Windows time zone names some more.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 4 Oct 2021 18:52:17 +0000 (14:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 4 Oct 2021 18:52:17 +0000 (14:52 -0400)
commitd0b0b70dc2a60d68f97af5264fe432e245eea3a5
tree51d8c3a6b6071c360910a00afa446741bf7c3220
parent0a561d4d00166b2171579017e2cd8e57dcf83d6a
Update our mapping of Windows time zone names some more.

Per discussion, let's just follow CLDR's default zone mappings
faithfully.  There are two changes here that are clear improvements:

* Mapping "Greenwich Standard Time" to Atlantic/Reykjavik is actually
a better fit than using London, because Iceland hasn't observed DST
since 1968, so this is more nearly what people might expect.

* Since the "Samoa" zone is specified to be UTC+13:00, we must map
it to Pacific/Apia not Pacific/Samoa; the latter refers to American
Samoa which is now on the other side of the date line.

The rest of these changes look like they're choosing the most populous
IANA zone as representative.  Whatever the details, we're just going
to say "if you don't like this mapping, complain to CLDR".

Discussion: https://postgr.es/m/3266414.1633045628@sss.pgh.pa.us
src/bin/initdb/findtimezone.c