BUG #15388: time convert error when use AT TIME ZONE '+8'

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: huhao0715(at)gmail(dot)com
Subject: BUG #15388: time convert error when use AT TIME ZONE '+8'
Date: 2018-09-18 03:22:34
Message-ID: 153724095414.13490.12512426893930004410@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 15388
Logged by: hao.hu
Email address: huhao0715(at)gmail(dot)com
PostgreSQL version: 10.1
Operating system: linux
Description:

1. What did you do?
SET TIME ZONE 'utc';
SELECT TIMESTAMP '2001-02-16 20:38:40' AT TIME ZONE '+8';

2. What did you expect to see?
timezone
------------------------
2001-02-16 12:38:40+00

3. What did you see instead?
timezone
------------------------
2001-02-17 04:38:40+00

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2018-09-18 03:27:03 Re: BUG #15387: explain analyze timing on bug?
Previous Message PG Bug reporting form 2018-09-18 02:45:35 BUG #15387: explain analyze timing on bug?