[BUG][FIX] Chronology Package - Duration

Brent Pinkney brent.pinkney at aircom.co.za
Thu Sep 11 11:55:49 UTC 2003


> OK, the dates don't change ... but,
>
> Year current asMonth
> Year current asWeek
> Year current asDate
>
> should return something around january, no?
>

Yip,

Alternatively add to your image:

Year class >> #current

	^ self year: (DateAndTime now year)

Will be fixed in next release of the .sar (+ a unit test) !


Cheers


Brent



More information about the Squeak-dev mailing list