pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Philippe Lavoie-Mongrain <philippe.lavoie-mongrain@breather.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Incorrect interpretation of time zone "Africa/Sao_Tome" on PG 9.6?
Date: Fri, 6 Jul 2018 18:36:24 -0400
Message-ID: <20180706223624.nefd73lycrjt2qzv@alvherre.pgsql> (raw)
In-Reply-To: <CAN--H5meRsy_nzu2cDKTgXfr1s7ag6OOpKW=dB78RVv2irguUg@mail.gmail.com>

On 2018-Jul-06, Philippe Lavoie-Mongrain wrote:

> This query:
> select ('2018-07-07 00:00 + 00'::timestamptz) AT TIME ZONE 'Africa/Sao_Tome'
> Returns this result:
> 2018-07-07 00:00:00.000000
> 
> However, according to more than one source, including this one:
> https://www.zeitverschiebung.net/en/timezone/africa--sao_tome, it should
> have +1 hour offset.

Apparently, Evaristo do Espirito Santo Carvalho decided to sign on
December 28th that the country would change timezone on January 1st ...
http://www.mnec.gov.st/index.php/publicacoes/documentos/file/90-decreto-lei-n-25-2017
(link found on IANA's tzdata sources)

This is updated as of 9.6.7, so if you're on an older release, you need
to upgrade.  Unless your install uses system timezone data, in which
case you need to update your OS's tzdata package.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (2+ messages)

Message-ID: <20180706223624.nefd73lycrjt2qzv@alvherre.pgsql>
Permalink:  ../20180706223624.nefd73lycrjt2qzv@alvherre.pgsql/
Also on:    postgresql.org/message-id/20180706223624.nefd73lycrjt2qzv@alvherre.pgsql

 · 

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-bugs@postgresql.org
  Cc: alvherre@2ndquadrant.com, philippe.lavoie-mongrain@breather.com
  Subject: Re: Incorrect interpretation of time zone "Africa/Sao_Tome" on PG 9.6?
  In-Reply-To: <20180706223624.nefd73lycrjt2qzv@alvherre.pgsql>
  References: <CAN--H5meRsy_nzu2cDKTgXfr1s7ag6OOpKW=dB78RVv2irguUg@mail.gmail.com> <20180706223624.nefd73lycrjt2qzv@alvherre.pgsql>

* 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