Hello,

I have an issue while exporting data from a quite big data base.
Essentially this is what I am facing while using mongoexport since I migrated from Mongo V4.0.2 to Mongo V.5:

This is what I have in one of the documents in one of the collecitons to be exported:


dateOfBirth: { date: ISODate(‘1966-08-27T00:00:00.000Z’), dateType: ‘DAY’ },

After the export I get that fields encoded in this way:

“:”…,“dateOfBirth”:{“date”:{“$date”:{“$numberLong”:“-105667200000”}},“dateType”:“DAY”…

I tried the option --jsonFormat=canonical but did not work at all.

I still have the issue. Why? what can I do to avoid this?

Note: I am note developer but sys admin.

Thank you.

Alex