Startup parameters timezone conversion

Поиск
Список
Период
Сортировка
От Leonid Vygovskiy
Тема Startup parameters timezone conversion
Дата
Msg-id CA+g6ijixekZxJergSrkai=U++aj3FzzYyh3B6fFFMo3Yk6nSGw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Startup parameters timezone conversion
Re: Startup parameters timezone conversion
Список pgsql-jdbc
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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: [pgjdbc/pgjdbc] f81244: fix: we will ask the server if it supports GSS Enc...
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Startup parameters timezone conversion