DateTimePicker: change declaration of NullDate - Math.MaxDouble declaration changed in fpc 3.2, and in some corner cases can make problems (mantis ). So, we'll just keep using 1.7e+308 (which was Math.MaxDouble in fpc 3.0.4).

git-svn-id: trunk@63250 -
This commit is contained in:
zoran 2020-05-30 15:12:22 +00:00
parent 668ee99dd1
commit 6e4dbe9fd0

View File

@ -52,7 +52,7 @@ uses
const
{ We will deal with the NullDate value the special way. It will be especially
useful for dealing with null values from database. }
NullDate = TDateTime(Math.MaxDouble);
NullDate = TDateTime(1.7e+308);
{ The biggest date a user can enter. }
TheBiggestDate = TDateTime(2958465.0); // 31. dec. 9999.