to_date bug

Поиск
Список
Период
Сортировка
От Jeff
Тема to_date bug
Дата
Msg-id 41EDB404Y2W72LF2WP2ZPJKIWS98.3d077cdd@Jeff
обсуждение исходный текст
Ответы Re: to_date bug  (Karel Zak <zakkr@zf.jcu.cz>)
Список pgsql-bugs
select to_date('December 12 2002','Month dd yyyy');
  to_date
------------
 2002-12-02

select to_date('January 12 2002','Month dd yyyy');
  to_date
------------
 0005-06-24     <----- Problem right there.


select to_date('January 12, 2002','Month dd, yyyy');
  to_date
------------
 2002-01-01   <-- It should be 2002-01-12

select to_date('December 12, 2002','Month dd yyyy');
  to_date
------------
 2002-12-02


For some reason it's getting caught up on January.  I know these dates are
Unambiguous however I think there might be a bug there.

It would be my first bug ;)

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

Предыдущее
От: lewwid
Дата:
Сообщение: to_date problem.
Следующее
От: Chris Sutton
Дата:
Сообщение: select real returns nothing