[squeak-dev] DateAndTimeLeapTest>>testAsSeconds is broken

Levente Uzonyi leves at caesar.elte.hu
Fri Dec 2 21:48:30 UTC 2016


On Fri, 2 Dec 2016, Chris Muller wrote:

>>> It's also quit possible I'm totally confused - I did not use independent
>>> resources but was just relying on Squeak.
>>>
>>
>> Well yes, of course you are confused, you should be. I would have been very
>> worried if you looked at this and thought that it made any sense ;-)
>
> I haven't quite groked the issue myself just yet, but you definitely
> sound convinced there's a tangible issue, Dave.  I agree that symmetry
> between those two converting methods sounds like it should be..
>
> You said the number of seconds calculated since the "epoch" is wrong
> but mentioned it was merely in conflict with a comment.  If we "fixed"
> the comment, would we still have a problem?

Do you know the answer to Dave's question "How many seconds elapsed 
between the Smalltalk epoch and the time 2004-02-29T13:33:00+02:00?"?

Levente


More information about the Squeak-dev mailing list