Re: timezone, how postgres deal with it?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: timezone, how postgres deal with it?
Дата
Msg-id 27540.1353599700@sss.pgh.pa.us
обсуждение исходный текст
Ответ на timezone, how postgres deal with it?  ("Anibal David Acosta" <aa@devshock.com>)
Список pgsql-admin
"Anibal David Acosta" <aa@devshock.com> writes:
> This query returns false
> select ('2012-11-20 17:00:00-02:00'::timestamp with time zone) =
> ('2012-11-20 18:00:00-03:00'::timestamp with time zone)
> But are exactly same time

No, they aren't.  You're apparently still confused about the sign of
timezone offsets.  The first one corresponds to 19:00 GMT, the second
to 21:00 GMT.

BTW, why are you posting the exact same question you posted two days
ago on another list?

            regards, tom lane


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

Предыдущее
От: "Anibal David Acosta"
Дата:
Сообщение: timezone, how postgres deal with it?
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: timezone, how postgres deal with it?