Re: BUG #6340: to_timestamp() miscalculates

Поиск
Список
Период
Сортировка
От Hans-Henrik Fuxelius
Тема Re: BUG #6340: to_timestamp() miscalculates
Дата
Msg-id 2F9ADE33-9F9B-4302-ACC3-3E6FD43AE35A@gmail.com
обсуждение исходный текст
Ответ на Re: BUG #6340: to_timestamp() miscalculates  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: BUG #6340: to_timestamp() miscalculates  (Hans-Henrik Fuxelius <hfuxelius@gmail.com>)
Список pgsql-bugs
Thanx a lot for your promt respons :) You are absolutely right, its the day=
light saving that date and hour, I had it as an key in my GPS data and was =
very confused!!!

Again - Thanx
/Hans-Henrik
On Dec 15, 2011, at 5:20 PM, Kevin Grittner wrote:

> wrote:
>=20
>> test to run: select to_timestamp('2011,03,27,02,11,11',
>> 'YYYY,MM,DD,HH24,MI,SS')
>>=20
>> and the run: select to_timestamp('2011,03,27,03,11,11',
>> 'YYYY,MM,DD,HH24,MI,SS')
>>=20
>> It miscalculates 02 hour to 03 hour by some reason
>=20
> 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?
>=20
> -Kevin

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

Предыдущее
От: Martin Pitt
Дата:
Сообщение: Re: BUG #6337: Startup Script
Следующее
От: nelson-m-marques@ext.ptinovacao.pt
Дата:
Сообщение: BUG #6341: Packaging - virtual provides "postgres" without version