[SERVER-11814] JSON parser should support $date fields with values represented as ISO-8601 date strings. Created: 21/Nov/13  Updated: 27/Oct/15  Resolved: 17/Jan/14

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.5.5

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Shaun Verch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DOCS-2539 Document ISODate support in JSON parser Closed
Participants:

 Description   

The JSON parser and tools using it should support parsing strict json documents with dates represented as ISO date strings, as follows:

{ "appointmentTime": { "$date": "2011-11-21T14:30:00.000-0400" } }



 Comments   
Comment by Githook User [ 17/Jan/14 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-11814 Support new strict date format in JSON parser
Branch: master
https://github.com/mongodb/mongo/commit/e3569aeb23884abfc50ff32135055441a691142d

Comment by Shaun Verch [ 11/Jan/14 ]

The support for parsing dates is in time_support.cpp, but it's not yet hooked up with the JSON parser. Reopening the ticket to get that component.

Comment by Githook User [ 25/Dec/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-11814 Fix overflow on 32 bit systems
Branch: master
https://github.com/mongodb/mongo/commit/d9b651d1f57a53b9079c236b875b9876b04a5996

Comment by Githook User [ 25/Dec/13 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-11814 fix include path fix
Branch: master
https://github.com/mongodb/mongo/commit/491c91c6bf7532903a5bd4baf8b96b38b7c59266

Comment by Githook User [ 25/Dec/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-11814 Add function to parse ISO Date to time utils
Branch: master
https://github.com/mongodb/mongo/commit/9d46b36cd227bd6ec7737aaad57f71a8509bff0e

Generated at Thu Feb 08 03:26:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.