[squeak-dev] DateAndTimeLeapTest>>testAsSeconds is broken

Chris Muller ma.chris.m at gmail.com
Sat Dec 3 18:24:48 UTC 2016


Why does it matter exactly how many seconds since the epoch?

On Fri, Dec 2, 2016 at 3:48 PM, Levente Uzonyi <leves at caesar.elte.hu> wrote:
> 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