[squeak-dev] Date tomorrow - Date today "0:19:00:00"
Bert Freudenberg
bert at freudenbergs.de
Thu Jun 28 01:03:40 UTC 2012
On 28.06.2012, at 02:58, Chris Muller wrote:
> I expected to get 1 day. 19 hours is clearly wrong isn't it?
>
> Check out DateAndTime>>#-. When I remove those #asLocal calls, I get
> the expected result (1 day). But it seems like it should work even
> with them -- because it subtracts a DateAndTime exactly 24 hours away
> (each in local time) but constructs a Duration of 19 hours...??
Yep, something's broken. The tests in Kernel-Chronology report 11 failures.
- Bert -
More information about the Squeak-dev
mailing list
|