mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-06 05:07:20 +01:00
* reverted r13949 because it's unnecessary test
git-svn-id: trunk@13954 -
This commit is contained in:
parent
292b36205a
commit
243e0ff3b5
@ -1857,7 +1857,7 @@ Function CompareDate(const A, B: TDateTime): TValueRelationship;
|
|||||||
begin
|
begin
|
||||||
If SameDate(A,B) then
|
If SameDate(A,B) then
|
||||||
Result:=EQualsValue
|
Result:=EQualsValue
|
||||||
else if Trunc(A)<Trunc(B) then
|
else if A<B then
|
||||||
Result:=LessThanValue
|
Result:=LessThanValue
|
||||||
else
|
else
|
||||||
Result:=GreaterThanValue;
|
Result:=GreaterThanValue;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user