Re: BUG #6340: to_timestamp() miscalculates

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: BUG #6340: to_timestamp() miscalculates
Дата
Msg-id 4EE9C9DF0200002500043D02@gw.wicourts.gov
обсуждение исходный текст
Ответ на BUG #6340: to_timestamp() miscalculates  (hfuxelius@gmail.com)
Ответы Re: BUG #6340: to_timestamp() miscalculates  (Hans-Henrik Fuxelius <hfuxelius@gmail.com>)
Список pgsql-bugs
wrote:

> test to run: select to_timestamp('2011,03,27,02,11,11',
> 'YYYY,MM,DD,HH24,MI,SS')
>
> and the run: select to_timestamp('2011,03,27,03,11,11',
> 'YYYY,MM,DD,HH24,MI,SS')
>
> It miscalculates 02 hour to 03 hour by some reason

I don't know what time zone you're in, or whether daylight saving
time kicks in on that date.  *Is* there a 02:11:11 on that date, or
is that when time "springs forward" by an hour in the spring for your
locale?

-Kevin

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #6340: to_timestamp() miscalculates
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #6337: Startup Script