[DOCS-7898] Extended JSON description of data_date doesn't match mongoexport behavior Created: 17/May/16  Updated: 04/Jan/23  Resolved: 08/May/19

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: David Golden Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 4 years, 40 weeks ago
Epic Link: DOCSP-1769
Story Points: 1

 Description   

On https://docs.mongodb.com/manual/reference/mongodb-extended-json/:

The MongoDB JSON parser currently does not support loading ISO-8601 strings representing dates prior to the Unix epoch. When formatting pre-epoch dates and dates past what your system’s time_t type can hold, the following format is used:

{ "$date" : { "$numberLong" : "<dateAsMilliseconds>" } }

As of MongoDB 3.0, mongoexport does not do this for negative epoch values – it will export them as ISO-8601 dates.



 Comments   
Comment by Githook User [ 08/May/19 ]

Author:

{'name': 'Kay Kim', 'username': 'kay-kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-7898: mongoexport fix example
Branch: master
https://github.com/mongodb/docs/commit/80696973b76a46902f846222b70db22f16e6e299

Comment by Githook User [ 08/May/19 ]

Author:

{'email': 'kay.kim@10gen.com', 'name': 'Kay Kim', 'username': 'kay-kim'}

Message: DOCS-7898: mongoexport fix example
Branch: v4.0
https://github.com/mongodb/docs/commit/b9ab2c45079ca8aa7db83ffecc8ab794ffde38d7

Comment by Githook User [ 08/May/19 ]

Author:

{'email': 'kay.kim@10gen.com', 'name': 'Kay Kim', 'username': 'kay-kim'}

Message: DOCS-7898: mongoexport fix example
Branch: v3.6
https://github.com/mongodb/docs/commit/b6fc7f2e307dab4c78408af5e3665fcd628b714e

Comment by Githook User [ 08/May/19 ]

Author:

{'name': 'Kay Kim', 'username': 'kay-kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-7898: mongoexport fix example
Branch: v3.4
https://github.com/mongodb/docs/commit/553f22c01be92123dcce7fe524b39d237e59ae74

Comment by Githook User [ 08/May/19 ]

Author:

{'email': 'kay.kim@10gen.com', 'name': 'Kay Kim', 'username': 'kay-kim'}

Message: DOCS-7898: mongoexport and strict json fmt date
Branch: v3.2
https://github.com/mongodb/docs/commit/ad243abf18310dc2b7d0bdf54413ea54946a7562

Comment by Githook User [ 08/May/19 ]

Author:

{'email': 'kay.kim@10gen.com', 'name': 'Kay Kim', 'username': 'kay-kim'}

Message: DOCS-7898: mongoexport and strict json fmt date
Branch: v3.4
https://github.com/mongodb/docs/commit/50713d98890b37ef16e3279fab44030ab591e6f8

Comment by Githook User [ 08/May/19 ]

Author:

{'name': 'Kay Kim', 'username': 'kay-kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-7898: mongoexport and strict json fmt date
Branch: v3.6
https://github.com/mongodb/docs/commit/49522013f426e024a1cfc29f682c02936d5d4576

Comment by Githook User [ 08/May/19 ]

Author:

{'name': 'Kay Kim', 'username': 'kay-kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-7898: mongoexport and strict json fmt date
Branch: v4.0
https://github.com/mongodb/docs/commit/2e54c9a39e4969ad3b4c4ee6ea068cf30c39050f

Comment by Githook User [ 08/May/19 ]

Author:

{'name': 'Kay Kim', 'username': 'kay-kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-7898: mongoexport and strict json fmt date
Branch: master
https://github.com/mongodb/docs/commit/9799608a13923d12eb8ee289e423f0ffc2adee34

Comment by Kay Kim (Inactive) [ 07/May/19 ]

Ah, thank you!

Comment by David Golden [ 07/May/19 ]

It will be out in 4.1.11.  You can download from Evergreen, though: https://evergreen.mongodb.com/task/mongo_tools_macOS_1014_dist_f2e38288b0e04965fc061711ca2fda2023e4265d_19_05_02_21_15_28

Generated at Thu Feb 08 07:55:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.