BUG #6001: date_trunc is not timezone aware

Поиск
Список
Период
Сортировка
От Marek Nos
Тема BUG #6001: date_trunc is not timezone aware
Дата
Msg-id 201105011848.p41ImvOT084137@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #6001: date_trunc is not timezone aware  (hubert depesz lubaczewski <depesz@depesz.com>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      6001
Logged by:          Marek Nos
Email address:      marek.nos@centrum.cz
PostgreSQL version: 9.0
Operating system:   Windows 7
Description:        date_trunc is not timezone aware
Details:

and other like extract() as well

SELECT date_trunc('day', '2011-05-02 02:00:00+05'::timestamptz)

I would expect result as
'2011-05-02 00:00:00+05'
but
'2011-05-01 00:00:00+02' is given (pre conversion to server timezone is done
first)

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

Предыдущее
От: "Philippe Reyes Courrau"
Дата:
Сообщение: BUG #6000: error de instalacion
Следующее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: BUG #6001: date_trunc is not timezone aware