|
This is as designed. Date-times before the unix epoch do not have reliable conversions to ISO8601 date strings. The POSIX standard makes no promises that its time formatting functions work before the epoch, and we rely on OS time formatting functions. In practice, different OSes behave differently for pre-epoch time formatting requests.
As an aside, before the early 1960s, there's no true mapping between a count of seconds from a fixed time point and a date and time because there is no reference clock.
The problem gets more complicated if you think about the distant past, say before time zones. MongoDB's Date type isn't really implemented to deal with that, beyond answering "before" and "after" queries.
|