I'm saving some entities to a Mongo database, these have Joda DateTime properties which have UTC set as a timezone. While saving works fine and I see the properties with correct values in the collection, once I retrieve the entities through Java the timezone gets set to UTC+2 again.
This is in the collection:
"created" : ISODate("2013-07-26T20:36:57.890Z")
I'm using Spring-Data-MongoDB to access the database.
Category category = mongoTemplate.findById(id, Category.class);
And I end up with this:
2013-07-26T23:05:56.439+02:00
Is there a way to tell Mongo do return the timezone stored in the date?
Hints appreciated, thank you!