[squeak-dev] Some failing tests in Squeak5.2alpha

Chris Cunningham cunningham.cb at gmail.com
Wed Jun 13 23:24:10 UTC 2018


On Wed, Jun 13, 2018, 16:09 David T. Lewis <lewis at mail.msen.com> wrote:

> On Wed, Jun 13, 2018 at 02:34:10PM +0200, Levente Uzonyi wrote:
> >
> > On Wed, 13 Jun 2018, Alistair Grant wrote:
> >
> > >On Wed, 13 Jun 2018 at 14:02, Levente Uzonyi <leves at caesar.elte.hu>
> wrote:
> > >>
> > >>On Wed, 13 Jun 2018, Fabio Niephaus wrote:
> > >>>
> > >>> There might be more, but these tests fail in Squeak5.2alpha:
> > >>>
> > >>> DateAndTimeLeapTest>>#testAsSeconds
> > >>
> > >>If you can answer the question "When the Squeak epoch is?", then this
> can
> > >>be fixed.
> > >
> > >1 Jan 1901.
> > >
> > >(I haven't looked at the test, I'm battling with file timestamps on
> > >Windows in the VM at the moment).
> > >
> >
> > The everlasting debate is about the time zone. Some say it is UTC,
> others
> > say it is whatever time zone you're in. The test is failing, because it
> > expects the value for UTC, while the method it uses (#asSeconds) was
> > changed to use your current time zone.
> >
>
> Putting an end to this kind of endless confusion is the reason that I
> implemented UTCDateAndTime for Squeak.
>
>   http://wiki.squeak.org/squeak/6197
>
>   http://www.squeaksource.com/UTCDateAndTime/
>
> Back when I did this in 2014, I considered it experimental. But after four
> years of use, I cannot think of any good reason not to adopt it in trunk.
> Maybe we can discuss some time after the 5.2 release.
>
> Dave
>
I second that idea. I have tested it personally in the past and it at least
works for me....

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180613/1a35b761/attachment.html>


More information about the Squeak-dev mailing list