Re: datetime error?
| От | Tom Lane |
|---|---|
| Тема | Re: datetime error? |
| Дата | |
| Msg-id | 4556.1009989308@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | datetime error? (Karel Zak <zakkr@zf.jcu.cz>) |
| Ответы |
Re: datetime error?
|
| Список | pgsql-hackers |
Karel Zak <zakkr@zf.jcu.cz> writes:
> I start fix my bug with "YY vs. zero" in formatting.c, and before it
> a see current CVS:
> test=# select to_timestamp('10-10-2001', 'MM-DD-YYYY');
> to_timestamp
> ------------------------
> 2001-10-10 00:00:00+02
> (1 row)
> test=# select to_date('10-10-2001', 'MM-DD-YYYY');
> to_date
> ------------
> 2001-10-09
> ^^
Hmm, is 2001-10-10 a daylight-savings transition day in your timezone?
Although I thought we'd fixed all those bugs ... and I don't see any
corresponding problem here.
regards, tom lane
В списке pgsql-hackers по дате отправления: