Currently, the schedule.py script checks if the date range of the "other schedule" matches the date range of the "primary schedule".
if day["date"] != self.day(target_day)["date"]:
log.error(f" ERROR: the other schedule's days have to match primary schedule, in some extend {day['date']} != {self.day(target_day)['date']}!")
return False
Question
The following example shows that the "other schedules (workshop, academic) can be within the range of the "primary schedule" although the former start later or end later or both.
Therefore my question: Does the above check have to be that strict or can it allow a "contains case"?
I do not have enough insights to feel qualified to rate negative effects which might be caused if the check is changed.
It would be great if the error message could state the reasoning for the check.
Context
Currently, the
schedule.py
script checks if the date range of the "other schedule" matches the date range of the "primary schedule".Question
I do not have enough insights to feel qualified to rate negative effects which might be caused if the check is changed.
Example