mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 17:29:27 +02:00
DateTimePicker: change declaration of NullDate - Math.MaxDouble declaration changed in fpc 3.2, and in some corner cases can make problems (mantis #37087). 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:
parent
668ee99dd1
commit
6e4dbe9fd0
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user