Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CalendarTruncationStrategy #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kurtraschke
Copy link
Contributor

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.

@CLAassistant
Copy link

CLAassistant commented Jul 19, 2018

CLA assistant check
All committers have signed the CLA.

@sheldonabrown
Copy link
Member

Thanks Kurt!

Looks good. Are you able to sign the CLA?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants