Login  Register

Re: DateAndTime>>asTime

Posted by Camillo Bruni-3 on Jun 06, 2013; 6:14pm
URL: https://forum.world.st/DateAndTime-asTime-tp4691870p4692010.html

can you save an image with the inspector opened on both x and y, x asTime and y asTime
and provide a link to it? like that I can inspect it in all detail...

On 2013-06-06, at 17:51, dmacq <[hidden email]> wrote:

> I tried it again this morning and still had the problem.
>
> This is interesting.
>
> | x y |
> x := DateAndTime year: 1991 day: 196 hour: 20 minute: 5 second: 7.
> y := DateAndTime year: 1991 month: 7 day: 15 hour: 20 minute: 5 second: 7.
> x = y  <------------------ True
>
> But
> | x y |
> x := DateAndTime year: 1991 day: 196 hour: 20 minute: 5 second: 7.
> y := DateAndTime year: 1991 month: 7 day: 15 hour: 20 minute: 5 second: 7.
> x asTime = y asTime <------------- False
>
>
>
> --
> View this message in context: http://forum.world.st/DateAndTime-asTime-tp4691870p4691988.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>