Re: Dates and daylight saving time

Поиск
Список
Период
Сортировка
От Fduch the Pravking
Тема Re: Dates and daylight saving time
Дата
Msg-id 20020131203327.A6485@zombie.antar.bryansk.ru
обсуждение исходный текст
Ответ на Re: Dates and daylight saving time  ("Tom Pfau" <T.Pfau@emCrit.com>)
Ответы Re: Dates and daylight saving time  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Thu, Jan 31, 2002 at 11:44:53AM -0500, Tom Pfau wrote:
> try 'set timezone to <tzname>' replacing <tzname> with your timezone
> before your query.
>
> template1=# set timezone to est;
> SET VARIABLE
> template1=# SELECT date(date '2001-10-28' + interval '1 day');
>     date
> ------------
>  2001-10-29
> (1 row)

Yes, it works!

But now postgres accepts input and returns output
in GMT, not local time like before! Is it a feature?

--
Fduch M. Pravking

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: New to Postgresql - Backend timeout /JDBC
Следующее
От: "Peter V. Cooper"
Дата:
Сообщение: Re: New to Postgresql - Backend timeout /JDBC