[CSHARP-963] Support ISO8601 strings in extended JSON $date format Created: 28/Apr/14  Updated: 03/Jan/18  Resolved: 29/Apr/14

Status: Closed
Project: C# Driver
Component/s: BSON
Affects Version/s: 1.9
Fix Version/s: 1.9.1

Type: Task Priority: Major - P3
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by CSHARP-1069 Support decoding $date from ISO-8601 ... Closed
Related
related to SERVER-11813 In strict-json mode, represent dates ... Closed
Case:

 Description   

mongoexport 2.6.0 has started using a new extended JSON format for DateTime values (using ISO8601 strings instead of numeric milliseconds since epoch).

For example:

{ "$date" : "2014-04-28T14:09:04.338-0500" }

We should change the JsonReader to support parsing this format also.



 Comments   
Comment by Githook User [ 29/Apr/14 ]

Author:

{u'name': u'rstam', u'email': u'robert@10gen.com'}

Message: CSHARP-963: Support $date with ISO8601 string in extended JSON.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/0ba14b32e9f040ab4b7bec65e87a1620917b0d6a

Comment by Githook User [ 29/Apr/14 ]

Author:

{u'name': u'rstam', u'email': u'robert@10gen.com'}

Message: CSHARP-963: Support $date with ISO8601 string in extended JSON.
Branch: v1.x
https://github.com/mongodb/mongo-csharp-driver/commit/1eca0fa40005021f07aa60e71eed01ab49d19beb

Generated at Wed Feb 07 21:38:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.