We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1006e4f + 27bb832 commit 9c86f92Copy full SHA for 9c86f92
Bson/ObjectModel/BsonDocument.cs
@@ -1200,6 +1200,9 @@ private object ToDictionaryHelper(BsonValue value)
1200
case BsonType.Document:
1201
return value.AsBsonDocument.ToDictionary();
1202
1203
+ case BsonType.DateTime:
1204
+ return value.AsDateTime;
1205
+
1206
default:
1207
return value.RawValue;
1208
}
@@ -1217,6 +1220,9 @@ private object ToHashtableHelper(BsonValue value)
1217
1220
1218
1221
return value.AsBsonDocument.ToHashtable();
1219
1222
1223
1224
1225
1226
1227
1228
0 commit comments