pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Incorrect interpretation of time zone "Africa/Sao_Tome" on PG 9.6?
2+ messages / 2 participants
[nested] [flat]

* Incorrect interpretation of time zone "Africa/Sao_Tome" on PG 9.6?
@ 2018-07-06 22:23  Philippe Lavoie-Mongrain <philippe.lavoie-mongrain@breather.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Philippe Lavoie-Mongrain @ 2018-07-06 22:23 UTC (permalink / raw)
  To: pgsql-bugs

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.

Thanks,
Phil

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Incorrect interpretation of time zone "Africa/Sao_Tome" on PG 9.6?
@ 2018-07-06 22:36  Alvaro Herrera <alvherre@2ndquadrant.com>
  parent: Philippe Lavoie-Mongrain <philippe.lavoie-mongrain@breather.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2018-07-06 22:36 UTC (permalink / raw)
  To: Philippe Lavoie-Mongrain <philippe.lavoie-mongrain@breather.com>; +Cc: pgsql-bugs

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-07-06 22:36 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-07-06 22:23 Incorrect interpretation of time zone "Africa/Sao_Tome" on PG 9.6? Philippe Lavoie-Mongrain <philippe.lavoie-mongrain@breather.com>
2018-07-06 22:36 ` Alvaro Herrera <alvherre@2ndquadrant.com>

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