grote/osm2gtfs

Automatic date generation fails in January

Closed this issue · 0 comments

When generating an end_date with a start_date in January or running the script in January without a specified start_date the script throws the following error: calendar.IllegalMonthError: bad month number 0; must be 1-12. A special check needs to be introduced for this particular case.