> db.date.insert({ "_id" : ISODate("0099-09-07T00:00:00Z") }) > db.date.findOne() { "_id" : ISODate("1999-09-07T00:00:00Z") }
expected:
> db.date.insert({ "_id" : ISODate("0099-09-07T00:00:00Z") }) > db.date.findOne() { "_id" : ISODate("0099-09-07T00:00:00Z") }
ISODate is parsing dates where the year is less than 100 improperly. It's treating them as offsets from 1900.
Pull Request #1170