Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pTtRJ-0006ge-Nz for pgsql-bugs@arkaria.postgresql.org; Sun, 19 Feb 2023 23:49:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pTtRI-00072n-Ay for pgsql-bugs@arkaria.postgresql.org; Sun, 19 Feb 2023 23:49:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pTtRI-00072e-2Y for pgsql-bugs@lists.postgresql.org; Sun, 19 Feb 2023 23:49:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pTtRF-0003yr-GV for pgsql-bugs@lists.postgresql.org; Sun, 19 Feb 2023 23:49:51 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 31JNnlTF3449862; Sun, 19 Feb 2023 18:49:47 -0500 From: Tom Lane To: =?UTF-8?Q?Umut_TEK=C4=B0N?= cc: pgsql-bugs@lists.postgresql.org Subject: Re: Inconsistent 'at time zone' conversion In-reply-to: References: Comments: In-reply-to =?UTF-8?Q?Umut_TEK=C4=B0N?= message dated "Sun, 19 Feb 2023 23:36:37 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3449860.1676850587.1@sss.pgh.pa.us> Date: Sun, 19 Feb 2023 18:49:47 -0500 Message-ID: <3449861.1676850587@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =?UTF-8?Q?Umut_TEK=C4=B0N?= 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