Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
2.10.2
-
None
Description
// the date is of kind Unspecified
|
var date = DateTime.Parse("2020-11-20"); |
|
|
// the filter will render as if the date was of kind Local
|
var filter = Builders<BsonDocument>.Filter.Eq(it => it.Created, date);
|
Seems logical to assume the date is of kind Utc in case it is not provided.