Sebastian,

In my 3.0 image

| today |
today := Date today.
(today translateTo: 2 hours) = today. 

=> false

But what are you trying to accomplish ?

Dates are a bit ambiguous: my Feb 1st and your Feb 1st, in one sense they are 
the same, refer to the same date, but in another sense, yours started at a 
different point in time, right ? So are they equal ?

Sven

On 01 Feb 2014, at 14:01, Sebastian Sastre <[email protected]> wrote:

> Can somebody please clarify if this is a bug or feature?
> 
> thanks
> 
> 
> 
> 
> On Jan 31, 2014, at 9:03 PM, Sebastian Sastre <[email protected]> 
> wrote:
> 
>> self assert: Date today = Date today.
>> 
>> today := Date today translateTo: 2 hours.
>> self assert: today = Date today
>> 
>> Is this right?
>> 
>> 
>> 
>> 
> 
> 


Reply via email to