| От | Tom Lane |
|---|---|
| Тема | Re: BUG #5552: incorrect returned value of time |
| Дата | |
| Msg-id | 14742.1278944829@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #5552: incorrect returned value of time ("Konstantin Kulikov" <k.e.kulikov@gmail.com>) |
| Список | pgsql-bugs |
"Konstantin Kulikov" <k.e.kulikov@gmail.com> writes: > Description: incorrect returned value of time > select current_timestamp at time zone 'GMT+3'; > will return actually 'GMT-3' This is unfortunate, but it's not a bug. There are two different standards about the sign of timezone offsets, and Postgres has to deal with both of them. See http://www.postgresql.org/docs/current/static/datatype-datetime.html#DATATYPE-TIMEZONES particularly the note that Another issue to keep in mind is that in POSIX time zone names, positive offsets are used for locations west of Greenwich. Everywhere else, PostgreSQL follows the ISO-8601 convention that positive timezone offsets are east of Greenwich. regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера