I started the migration of my apps to Pharo 4 and during the
transition the only thing that seems to cause issues are the
references to the TimeStamp class (particularly, its instantiators,
like #now, #current, etc.).

However, there are frameworks like GLORP that use TimeStamp extensively.

E.g. GLORP's <Dialect class>>#timeStampClass> returns TimeStamp, and
so does some other methods like Grease's #magritteTimeStampClass.

What should be the proper way to update the references?
Simply changing the returned class of #timeStampClass-like methods
from TimeStamp to DateAndTime?

In the case of GLORP, which I'm updating too, TimeStamp use is more
extended, because it's also a datatype used to map table columns, but
using no timezone offset. I guess if we move to DateAndTime we should
preserve that behavior in order to not break anything.

What are your suggestions?

Esteban A. Maringolo

ps: I'm so tempted to fork from the GLORP package, rename as something
else (PLORM?) and refactor it mercilessly.

Reply via email to