The Inbox: EToys-kks.389.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: EToys-kks.389.mcz

commits-2
A new version of EToys was added to project The Inbox:
http://source.squeak.org/inbox/EToys-kks.389.mcz

==================== Summary ====================

Name: EToys-kks.389
Author: kks
Time: 6 April 2020, 9:59:20.704434 am
UUID: 52884b18-40df-44d6-a2b0-5a02a0ef7724
Ancestors: EToys-eem.388

Fixes error popups while using MonthMorph menu.

=============== Diff against EToys-eem.388 ===============

Item was changed:
  ----- Method: MonthMorph>>startMondayOrSundayString (in category 'controls') -----
  startMondayOrSundayString
+ ^((Week startDay = #Monday)  ifTrue: ['start Sunday'] ifFalse: ['start Monday'])
- ^(Week startDay  ifTrue: ['start Sunday'] ifFalse: ['start Monday'])
  translated!

Item was changed:
  ----- Method: WeekMorph>>selectedDates (in category 'all') -----
  selectedDates
  | answer |
  answer :=OrderedCollection new.
  self submorphsDo:
  [:each |
  ((each respondsTo: #onColor) and: [each color = each onColor])
  ifTrue:
  [answer add:
  (Date
  newDay: each label asNumber
+ month: week start monthName
+ year: week start year)]].
- month: week firstDate monthName
- year: week firstDate year)]].
  ^ answer sort!