Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use UTC for embedded Date objects as well #3626
The MongoDB driver creates Date objects when deserializing documents from the database. Without this, the converted DateTime object's time zone would depend on the JVM default zone.
We do the same in the
This should be back-ported into 2.2.