Possible bug with Voyage-Mongo date

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Possible bug with Voyage-Mongo date – I'm running Pharo 3.0 beta with Voyage-Mongo. When I save a DateAndTime instance in the database, it's saved in Mongodb as the previous day. This ...
I just ran the entire test suite for Pharo and it seems that the problem isn't with voyage or the mongo test driver. The DateTest>#testDurati...
On 10 Jan 2014, at 08:18, raphonic <raphonic@...> wrote: > I just ran the entire test suite for Pharo and it seems that the problem ...
Mongo-BSON was the package overriding duration. It over-rode duration's accessor with duration ^Duration seconds: self asSeconds nanoSeconds: 0
For Date today duration, I got '41281:18:30:00' and for (Date readFrom: '01-23-2004' readStream) duration: '37641:18:30:00'. I've lo...