From: Yura Sokolov <funny.falcon@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: Setting timezone: is it bug or intended?
Date: Fri, 18 Mar 2011 11:22:11 +0300
Message-ID: <4D831633.4020504@gmail.com> (raw)
postgres=# set timezone='+03';
SET
postgres=# select now();
now
-------------------------------
2011-03-18 11:20:29.696671+03
(1 row)
postgres=# set timezone='+03:00';
SET
postgres=# select now();
now
------------------------------
2011-03-18 05:20:35.46008-03
(1 row)
(checked with 8.4 and 9.0)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: funny.falcon@gmail.com
Subject: Re: Setting timezone: is it bug or intended?
In-Reply-To: <4D831633.4020504@gmail.com>
References: <4D831633.4020504@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox