[Pharo-users] Voyage: save Date, get back DateAndTime - bug?

2013-08-14 Thread Sabine Knöfel
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 :-)

Re: [Pharo-users] Voyage: save Date, get back DateAndTime - bug?

2013-08-14 Thread Esteban Lorenzano
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 K

Re: [Pharo-users] Voyage: save Date, get back DateAndTime - bug?

2013-08-14 Thread Sabine Knöfel
Hi Esteban, thanks for the quick reply, I wil hack it back. ;-) Sabine On Wed, Aug 14, 2013 at 11:50 AM, EstebanLM [via Smalltalk] < ml-node+s1294792n4703609...@n4.nabble.com> wrote: > Hi Sabine, > > that's a known issue... from mongodb :) > > Mongo does not recognize between Date and DateAndT