pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Update our mapping of Windows time zone names some more.
Date: Mon, 04 Oct 2021 18:53:06 +0000
Message-ID: <E1mXT5G-0006fX-11@gemulon.postgresql.org> (raw)

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

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b5f34ae08ad2153f66d2463ad008da9e67ec6b03

Modified Files
--------------
src/bin/initdb/findtimezone.c | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)



view thread (14+ messages)

Message-ID: <E1mXT5G-0006fX-11@gemulon.postgresql.org>
Permalink:  ../E1mXT5G-0006fX-11@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mXT5G-0006fX-11@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Update our mapping of Windows time zone names some more.
  In-Reply-To: <E1mXT5G-0006fX-11@gemulon.postgresql.org>
  References: <E1mXT5G-0006fX-11@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox