Hi Sabine, that's a known issue... from mongodb :) Mongo does not recognize between Date and DateAndTime, so even if you commit a Date, you will have back a DateAndTime. Only way I know to deal with that is by transforming it manually :( cheers, Esteban On Aug 14, 2013, at 11:44 AM, Sabine Knöfel <sabine.knoefel@gmail.com> wrote:
Hi Esteban, All,
when saving an instance of *Date* within an attribute with voyage into Mongo and doing
VOMongoRepository allInstancesDo: #reset.
then loading the object back from database, I get an inst of *DateAndTime* in this attribute.
Of course, I can "hack" by the tools you gave me :-) it but I ask myself if this is a bug or by intent.
Regards Sabine
-- View this message in context: http://forum.world.st/Voyage-save-Date-get-back-DateAndTime-bug-tp4703601.ht... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.