mongosh displays Invalid Date, Compass currently throws an exception and is unable to render collection contents entirely.
Example Python script to generate a document with an invalid date:
import pymongo import bson client = pymongo.MongoClient('localhost', 27017) client.test.coll.insert_one(bson.raw_bson.RawBSONDocument(b'\x10\x00\x00\x00\x09\x61\x00\xff\xff\xff\xff\xff\xff\xff\x7f\x00'))