Re: Dates and daylight saving time - Mailing list pgsql-bugs

From Fduch the Pravking
Subject Re: Dates and daylight saving time
Date
Msg-id 20020131203327.A6485@zombie.antar.bryansk.ru
Whole thread Raw
In response to Re: Dates and daylight saving time  ("Tom Pfau" <T.Pfau@emCrit.com>)
Responses Re: Dates and daylight saving time  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: New to Postgresql - Backend timeout /JDBC
Next
From: "Peter V. Cooper"
Date:
Subject: Re: New to Postgresql - Backend timeout /JDBC