-
Type:
Question
-
Resolution: Done
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 3.4.1
-
Component/s: mongoimport
-
None
-
Environment:Windows 10
-
Platforms 2017-02-13
-
Not Needed
-
I want to import the attached .json file by `
mongoimport --drop -d so -c items items.js --jsonArray
but got
Failed: error getting extended BSON for document #0: parsing time "2016-012-18T16:00:00Z" as "2006-01-02T15:04:05Z07:00": cannot parse "2-18T16:00:00Z" as "-"
I also tried to use `ISODate` format per http://stackoverflow.com/questions/33107278/import-a-dateisodate-into-mongodb-using-mongoimport, and got
Failed: error unmarshaling bytes on document #0: unexpected ISODate format