[fpc-devel] DB Bug in 2.0.1?
Tony Maro
tony at maro.net
Thu Jul 21 01:28:03 CEST 2005
Jonas Maebe wrote:
>
> On 21 jul 2005, at 00:40, Tony Maro wrote:
>
>> Can someone confirm the date issue for me?
>
>
> I can't confirm it, but I do want to mention that I fixed all
> datetime-related routines for *nix platforms in sysutils a while ago.
> They operated based on the supposition that the dates they get are in
> Windows format, as opposed to the number of seconds since x/x/1970.
>
> Maybe some databases always store the date in Windows format and
> maybe some database units counted on this bug...
I wouldn't think so in this case - it's not just returning the wrong
date, it's always returning the SAME wrong date, regardless of the value
in the database table. But I won't rule it out as a possibility. I'll
point Micha to this thread.
-Tony
More information about the fpc-devel
mailing list