http://code.google.com/p/pharo/issues/detail?id=2352

I proposed a fix and would loved to have feedback.

Stef

On Apr 24, 2010, at 7:51 PM, Stéphane Ducasse wrote:

> the problem seems to be due to 
>       (Duration seconds: 73994 nanoSeconds: 321000000) seconds 
>       which returns a fraction
> 
> 
> In pharo
> 
> Duration>>seconds
>       "Answer the number of seconds the receiver represents."
> 
>       ^ (seconds rem: SecondsInMinute) + (nanos / NanosInSecond)
> 
> 
> In Squeak>>seconds
>       "Answer the number of seconds the receiver represents."
> 
>       ^seconds rem: SecondsInMinute
> 
> 
> Now I have the impression that the squeak version is right
> 
> What do you think?
> 
> Stef
> 
> 
> On Apr 24, 2010, at 4:38 PM, stephane ducasse wrote:
> 
>> Hi guys
>> 
>> I have to fix my house :) so I could not continue to kill this one on 
>> Unstable 11321
>> 
>> '-1199-01-05T20:33:14.321-05:00' asDateAndTime printString 
>>      ->  '-1199-01-05T20:33:(14321/1000).321-05:00'
>> 
>> STef
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> 
> 
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to