-
Type: Improvement
-
Resolution: Done
-
Priority: Trivial - P5
-
Affects Version/s: None
The Mongo extended JSON documentation states that $date has a "mandatory time zone field." libbson follows this and does not allow dates without time zones such as "1970-01-01T00:00:00.000"
Return a better error message than "Could not parse "1970-01-01T00:00:00.000" as a date"? Maybe "Could not parse "1970-01-01T00:00:00.000" missing time zone".