Re: Is this a bug? : select '26/10/2003'::date + interval '1 day';

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Is this a bug? : select '26/10/2003'::date + interval '1 day';
Дата
Msg-id 200305221721.59157.richardh@archonet.com
обсуждение исходный текст
Ответ на Is this a bug? : select '26/10/2003'::date + interval '1 day';  (Conxita Marín <comarin@telefonica.net>)
Список pgsql-general
On Thursday 22 May 2003 11:27 am, Conxita Marín wrote:
> Hi.
>
> Is this a bug?
>
> s001=> select '25/10/2003'::date + interval '1 day';
>          ?column?
> --------------------------
>  26/10/2003 00:00:00 CEST
> (1 row)
>
> s001=> select '26/10/2003'::date + interval '1 day';
>         ?column?
> -------------------------
>  26/10/2003 23:00:00 CET  (????)
> (1 row)

If CEST is Central European Summer Time
And CET is Central European Time

Then I'd guess you're looking at the end of the summer-time adjustment when
the clocks go back 1 hour.
--
  Richard Huxton
  Archonet Ltd

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

Предыдущее
От: "Vincent Hikida"
Дата:
Сообщение: Re: plpgsql recursion
Следующее
От: Anupama Laxminarayan
Дата:
Сообщение: Disabling autocommit at the psql prompt