voc / schedule

http://c3voc.de/wiki/schedule
14 stars 18 forks source link

Date range check for multiple schedules #124

Open johnjohndoe opened 1 year ago

johnjohndoe commented 1 year ago

Context

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

Example