Re: BUG #6340: to_timestamp() miscalculates

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #6340: to_timestamp() miscalculates
Дата
Msg-id 6871.1323965795@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #6340: to_timestamp() miscalculates  (hfuxelius@gmail.com)
Список pgsql-bugs
hfuxelius@gmail.com writes:
> 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

If that date is a DST forward transition date in your timezone, then
this behavior is neither surprising nor a bug.

            regards, tom lane

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

Предыдущее
От: hfuxelius@gmail.com
Дата:
Сообщение: BUG #6340: to_timestamp() miscalculates
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: BUG #6340: to_timestamp() miscalculates