pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Umut TEKİN <umuttechin@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Inconsistent 'at time zone' conversion
Date: Sun, 19 Feb 2023 18:49:47 -0500
Message-ID: <3449861.1676850587@sss.pgh.pa.us> (raw)
In-Reply-To: <CAPZcZRmcTnGPABC8o+5hwLz2wN0uHK=hG+Xj=swVvDS8i5Dekg@mail.gmail.com>
References: <CAPZcZRmcTnGPABC8o+5hwLz2wN0uHK=hG+Xj=swVvDS8i5Dekg@mail.gmail.com>

=?UTF-8?Q?Umut_TEK=C4=B0N?= <umuttechin@gmail.com> writes:
> I think I found a bug about time zones.

You're just confused about the signs of timezone offsets.
"UTC-7" is read as POSIX notation so that it means 7 hours
east of Greenwich, not west where Denver is.  See

https://www.postgresql.org/docs/current/datetime-posix-timezone-specs.html

			regards, tom lane





view thread (5+ messages)  latest in thread

Message-ID: <3449861.1676850587@sss.pgh.pa.us>
Permalink:  ../3449861.1676850587@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3449861.1676850587@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, umuttechin@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: Inconsistent 'at time zone' conversion
  In-Reply-To: <3449861.1676850587@sss.pgh.pa.us>

* 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