You are not logged in.
The TBsonWriter writes strings as a double value if they look like an ISO 8601. When I get them back from the database, I don't get the original string.
Currently, the only option to fix this, seems to be to remove "Iso8601CheckAndDecode(value, valueLen, dt) or" from TBsonWriter.BsonWriteUtf8OrDecode.
The two "MAGIC" conditions should be fine but checking every string for ISO 8601 and forcing them into datetime can change the string unintentionally.
Offline
IIRC, it was needed for back - and - forth JSON conversion with BSON.
It does NOT write those values as double, but as betDateTime BSON content. So you don't loose information.
Offline