[squeak-dev] DateAndTimeLeapTest>>testAsSeconds is broken

Levente Uzonyi leves at caesar.elte.hu
Sat Dec 3 18:34:12 UTC 2016


If it doesn't matter, then what's the epoch good for?

Levente

On Sat, 3 Dec 2016, Chris Muller wrote:

> 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