Details
-
Bug
-
Resolution: Done
-
Major - P3
-
0.7
-
None
-
None
-
Win 7, .NET 4
Description
Performing a find with various DateTime values using a greater than comparison produces incorrect results for dates prior to 1970.
... Find(Query.GT("DateTimeFetched", cut)).Count();
Found 0 records for 01/01/0001 00:00:00
Found 2559 records for 01/01/1970 00:00:00
Found 2559 records for 01/01/1980 00:00:00
Found 2559 records for 01/01/2010 00:00:00
Expected either
throw an exception if there is no way that the passed DateTime value can be handled or (ii) preferably for it to actually work.