|
@@ -38,7 +38,7 @@ class CryspCalendar:
|
|
|
if end:
|
|
|
last_meeting = str_to_date(end)
|
|
|
if weeks:
|
|
|
- last_meeting = max(first_meeting + timedelta(weeks=weeks),
|
|
|
+ last_meeting = min(first_meeting + timedelta(weeks=weeks),
|
|
|
last_meeting)
|
|
|
ret = []
|
|
|
next_meeting = first_meeting
|