Hi,
This email is related to Mongo project [1].
As MongoDb documentation [2] states:��
"BSON has a special timestamp type for internal��MongoDB use and is not associated with the regular Datetype.��Timestamp values are a 64 bit value where:
- the first 32 bits are a time_t value (seconds since the Unix epoch)
- the second 32 bits are an incrementing ordinal for operations within a given second."
Now, our Mongo bindings [1] convert this MongoDb's internal type to Pharo's TimeStamp (i.e. the subclass of DateAndTime) with two problems:��
- it's a wrong: the 2 parts of 32 bits are converted as 64 bits of milliseconds
- it produces a warning in latest Pharo [3]: TimeStamp has been removed so extension methods cannot be installed.
That's why I'm creating MongoTimeStamp, and changing BSON marshaling from: