Skip to content

Change how sporadic schedules match dates

Carlos Sanchez requested to merge 809-repose-change-sporadic-sc-scheduling into main

Closes #809 (closed)

If the schedule is sporadic, for each sporadicDate (derived by adding the sporadicConfig's intervals to it's startDate) a time interval is calculated by setting start to the sporadicDate minus ${sporadicDaysBefore} and end to the sporadicDate plus ${sporadicDaysAfter}. If targetDate falls into any of the time intervals the date matches.

Merge request reports

Loading