Re: BUG #1630: Wrong conversion in to_date() function. See example. - Mailing list pgsql-bugs

From Juan Miguel Paredes
Subject Re: BUG #1630: Wrong conversion in to_date() function. See example.
Date
Msg-id 9e0a28690504270750f197285@mail.gmail.com
Whole thread Raw
In response to Re: BUG #1630: Wrong conversion in to_date() function. See example.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Even javascript handles those dates the same way...

 On 4/27/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:=20
>=20
> "Ariel E. Carn=C3=A1/Elizabeth Sosa" <acarna@tarifar.com> writes:
> > PROD=3D# select to_date('2005-02-32', 'YYYY-MM-DD');
> > to_date
> > ------------
> > 2005-03-04
> > (1 row)
>=20
> I'm not convinced that's a bug --- most implementations of the Unix
> mktime function will handle out-of-range day numbers like that.
>=20
> regards, tom lane
>=20
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>=20
> http://www.postgresql.org/docs/faq
>

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1630: Wrong conversion in to_date() function. See example.
Next
From: Tom Lane
Date:
Subject: Re: BUG #1630: Wrong conversion in to_date() function. See example.