Closed bassdread closed 10 years ago
Mongo uses a ISODate type to allow date range searches, see http://cookbook.mongodb.org/patterns/date_range/
Currently "timestamp" is stored as an int making the standard Mongo date range query impossible.
Change or add a new field to save the timestamp as a native Mongo datetime field.
"timestamp" : ISODate("2014-03-14T11:07:52.830Z")
Timestamp is now logging as ISODate. Thanks!
Mongo uses a ISODate type to allow date range searches, see http://cookbook.mongodb.org/patterns/date_range/
Currently "timestamp" is stored as an int making the standard Mongo date range query impossible.
Change or add a new field to save the timestamp as a native Mongo datetime field.