pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <shammat@gmx.net>
To: pgsql-jdbc@lists.postgresql.org
Subject: Re: Startup parameters timezone conversion
Date: Wed, 19 Jan 2022 15:41:55 +0100
Message-ID: <22f1218b-d700-141c-e9ef-08f7cb066411@gmx.net> (raw)
In-Reply-To: <CADK3HH+u1v+4rqCWrxEZAmUD5iNLK47x2iVmGeCJ0P4FhZ2G8Q@mail.gmail.com>
References: <CA+g6ijixekZxJergSrkai=U++aj3FzzYyh3B6fFFMo3Yk6nSGw@mail.gmail.com>
	<CADK3HH+u1v+4rqCWrxEZAmUD5iNLK47x2iVmGeCJ0P4FhZ2G8Q@mail.gmail.com>

Could this be related to Posix time zones?

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

> the positive sign is used for zones west of Greenwich. (Note that this is the opposite of the ISO-8601 sign convention used elsewhere in PostgreSQL

Thomas

Dave Cramer schrieb am 19.01.2022 um 15:01:
> I have to admit to being unable to explain this as well.
>
>
> Dave Cramer
> www.postgres.rocks
>
>
> On Wed, 19 Jan 2022 at 08:22, Leonid Vygovskiy <Leonid.Vygovskiy@gmail.com <mailto:Leonid.Vygovskiy@gmail.com>> wrote:
>
>     Hi all!
>
>     I study how to work with the timezone in JDBC driver and found the code which I don't understand.
>     This is implementation of the method ConnectionFactoryImpl.createPostgresTimeZone() which has the comment:" Convert Java time zone to postgres time zone. All others stay the same except that GMT+n  changes to GMT-nn and vise versa."
>
>     I'm confused with that changing. Can anybody talk about the reasons and motives of this behavior?
>
>     BR, Leonid Vygovskiy
>





view thread (8+ messages)  latest in thread

Message-ID: <22f1218b-d700-141c-e9ef-08f7cb066411@gmx.net>
Permalink:  ../22f1218b-d700-141c-e9ef-08f7cb066411@gmx.net/
Also on:    postgresql.org/message-id/22f1218b-d700-141c-e9ef-08f7cb066411@gmx.net

 · 

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-jdbc@postgresql.org
  Cc: shammat@gmx.net
  Subject: Re: Startup parameters timezone conversion
  In-Reply-To: <22f1218b-d700-141c-e9ef-08f7cb066411@gmx.net>
  References: <CA+g6ijixekZxJergSrkai=U++aj3FzzYyh3B6fFFMo3Yk6nSGw@mail.gmail.com> <CADK3HH+u1v+4rqCWrxEZAmUD5iNLK47x2iVmGeCJ0P4FhZ2G8Q@mail.gmail.com> <22f1218b-d700-141c-e9ef-08f7cb066411@gmx.net>

* 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