From: | Dave Cramer <davecramer(at)postgres(dot)rocks> |
---|---|
To: | Thomas Kellerer <shammat(at)gmx(dot)net> |
Cc: | pgsql-jdbc(at)lists(dot)postgresql(dot)org |
Subject: | Re: Startup parameters timezone conversion |
Date: | 2022-01-19 15:08:45 |
Message-ID: | CADK3HHKBw527C_C0wcRVhVE7OB6Xi1H3-XWgTCFXD3sqa9Rhnw@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
On Wed, 19 Jan 2022 at 09:42, Thomas Kellerer <shammat(at)gmx(dot)net> wrote:
> 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
>
Yes this is the case
test=# set timezone to 'GMT-5';
SET
test=# select now();
now
-------------------------------
2022-01-19 20:05:25.515391+05
(1 row)
test=# set timezone to 'GMT+5';
SET
test=# select now();
now
-------------------------------
2022-01-19 10:05:52.054867-05
(1 row)
>
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2022-01-19 15:20:29 | Re: Startup parameters timezone conversion |
Previous Message | Tom Lane | 2022-01-19 15:07:59 | Re: Startup parameters timezone conversion |