hasadna / open-bus-map-search

open-bus-map-search
https://open-bus-map-search.hasadna.org.il/dashboard
MIT License
48 stars 85 forks source link

fix(gtfs-service-api): change routes filter to correctly check if a route is in the given range #741

Closed itsoriki closed 2 months ago

itsoriki commented 2 months ago

Resolves #538

Description

The filter in the gtfsService was wrong and probably assumed the to and from dates were the same (see #538) The correct filter is now in place checking each route against the to and the from dates like it should.

screenshots

image

github-actions[bot] commented 2 months ago

Preview: https://s3.amazonaws.com/noam-gaash.co.il/9004797055/open-bus/cf04888cbf5260d573464366109555225f3265a5/index.html Preview Storybook: https://s3.amazonaws.com/noam-gaash.co.il/9004797055/open-bus/cf04888cbf5260d573464366109555225f3265a5/storybook/index.html

itsoriki commented 2 months ago

@NoamGaash