<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Op 01/04/2024 om 12:30 schreef Werner
Pamler via fpc-devel:<br>
</div>
<blockquote type="cite"
cite="mid:ceb1d847-e340-4129-a14b-911809206017@freenet.de">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">Am 31.03.2024 um 11:55 schrieb Pascal
Pype via fpc-devel:<br>
</div>
<blockquote type="cite"
cite="mid:20240331115504.65039efa.pascal.pype@skynet.be">
<pre class="moz-quote-pre" wrap="">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). </pre>
</blockquote>
<p>It is fixed in FPC/main (probably in commit
492a0ffcac7035e9f096e353db41bacabedcc91d), not yet in Fixes.
Marco, shouldn't this be back-ported?</p>
<span style="white-space: pre-wrap">
</span> <br>
</blockquote>
<p><br>
</p>
<p>The below revision is marked as merged<br>
</p>
<div class="menutitle"><b><a
href="https://gitlab.com/freepascal.org/fpc/source/-/commit/492a0ffcac7035e9f096e353db41bacabedcc91d">492a0ffcac7035e9f096e353db41bacabedcc91d</a></b>
michael <small> Sun Jun 20 08:00:01 2021</small> r49517 -</div>
<br>
<p> * Better precision for samedatetime. Issue ID <a
href="http://bugs.freepascal.org/view.php?id=39023">0039023</a>,
patch by Zoran Vučenović</p>
<p></p>
</body>
</html>