Felipe Monteiro de Carvalho  wrote / napísal(a):
On Wed, Aug 3, 2011 at 6:55 AM, LacaK <la...@zoznam.sk> wrote:
So if this constant can not be changed, then I must write workaround for
date '01/01/0001' and do not add time part to this date.

The constant was already changed once, and no-one complained in the
following years, so my guess is that it could be changed again
I think so also.

But my hotfix for this moment is skip testing datetimes '0001-01-01' with time portion. As you can view here http://bugs.freepascal.org/view.php?id=19878 in toolsunit.diff

SQL standard ofcourse allows datetimes from '0001-01-01 00:00:00' to '0001-01-01 23:59:59'

-Laco.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to