Adds CalendarTransformStrategy to truncate a GTFS feed to a specified service date.
Expected behavior:
If invoked as {'op':'truncate_calendars','calendar_end_date':'20180818'}, any service calendar whose end date was greater than 2018-08-18 would have its end date set to 2018-08-18, and any calendar exception whose occurrence was past that date would be deleted.
Summary:
Adds
CalendarTransformStrategy
to truncate a GTFS feed to a specified service date.Expected behavior:
If invoked as
{'op':'truncate_calendars','calendar_end_date':'20180818'}
, any service calendar whose end date was greater than 2018-08-18 would have its end date set to 2018-08-18, and any calendar exception whose occurrence was past that date would be deleted.