]> 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)
commit919c08d909f766bb51c5c617714364a91bb90d9d
tree479918d0979f393a48a2e222fe9db9da74517130
parent5f46180070d108f2f2aec6a9d3d488d3ef55b42e
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