[Pharo-project] timezone madness

Camillo Bruni camillobruni at gmail.com
Tue Jul 10 12:20:05 EDT 2012

> The problem is that the epoch was always in local time so the logic
> behind it and tests were a mess.
> Now the epoch starts in one defined moment. Sorry for the failing
> tests but chronology tests were ok and the monkey reported no other
> failures so I supposed that the fix was working well.
> -- Pavel

But I want these two objects to be exactly the same (aka in the same time zone)

t := DateAndTime now.
t2 := DateAndTime fromSeconds: t asSeconds.

is that now the case?

More information about the Pharo-dev mailing list