Re: Setting timezone: is it bug or intended?

Поиск
Список
Период
Сортировка
От Yura Sokolov
Тема Re: Setting timezone: is it bug or intended?
Дата
Msg-id 4D892810.5040001@gmail.com
обсуждение исходный текст
Ответ на Re: Setting timezone: is it bug or intended?  (Susanne Ebrecht <susanne@2ndQuadrant.com>)
Ответы Re: Setting timezone: is it bug or intended?  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
21.03.2011 15:51, Susanne Ebrecht ïèøåò:
> Hello Yora Sokolov,
>
> Maybe this is not a bug - just an inconsistence:
>
> Look here (tested with 9.0):
>
> =# set timezone='+3.5';
> SET
> =# select current_timestamp;
>                now
> ----------------------------------
>  2011-03-21 16:05:34.761112+03:30
> (1 row)
>
> In any case, this should get documented.
>
> Susanne
>
>
My question were about sign of timezone:

postgres=# set timezone='+03'; -- positive
postgres=# select now();
2011-03-18 11:20:29.696671+03 -- positive
postgres=# set timezone='+03:00'; -- positive
2011-03-18 05:20:35.46008-03 -- negative

Is it intended?

Yura Sokolov

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

Предыдущее
От: Itagaki Takahiro
Дата:
Сообщение: Re: ERROR: character 0xe3809c of encoding "UTF8" has no equivalent in EUC_JP
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: ERROR: character 0xe3809c of encoding "UTF8" has no equivalent in EUC_JP