[fpc-devel] TDateTime issue.

Werner Pamler werner.pamler at freenet.de
Mon Apr 1 12:30:08 CEST 2024


Am 31.03.2024 um 11:55 schrieb Pascal Pype via fpc-devel:
> There seems to be a bug in the TDateTime data type. When the time
> difference between two TDateTime variables is just one millisecond, the
> compareDateTime function returns 0 (equality) rather than the expected
> -1 or 1 (different).

It is fixed in FPC/main (probably in commit 
492a0ffcac7035e9f096e353db41bacabedcc91d), not yet in Fixes. Marco, 
shouldn't this be back-ported?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20240401/c0a3e5c5/attachment.htm>


More information about the fpc-devel mailing list