We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db3bf28 commit 6eeac19Copy full SHA for 6eeac19
source/Chalten-Core/ChaltenEnvironmentBehavior.class.st
@@ -58,7 +58,7 @@ ChaltenEnvironmentBehavior >> calendarsDo: aBlock [
58
{ #category : 'accessing time' }
59
ChaltenEnvironmentBehavior >> defineCalendarNamed: aCalendarName with: aCalendar [
60
61
- self calendars at: aCalendarName put: aCalendar
+ self calendars at: aCalendarName ifAbsentPut: [ aCalendar ]
62
]
63
64
0 commit comments