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

Period skipped if no interval exception #24

Open
nlehuby opened this issue Feb 11, 2022 · 0 comments
Open

Period skipped if no interval exception #24

nlehuby opened this issue Feb 11, 2022 · 0 comments

Comments

@nlehuby
Copy link
Member

nlehuby commented Feb 11, 2022

With the following tags:

  • opening_hours: Mo-Su,PH 06:30-12:30,14:00-20:30
  • interval : 30
  • interval:conditional: 10 @ (Mo-Su,PH 10:00-12:00)

The 14:00-20:30 period is skipped in the allComputedIntervals

Seems to reproduce when opening_hours has 2 periods and interval:conditional only add exception(s) to one of them

See for instance https://jungle-bus.github.io/Busy-Hours/#/line/13562297

osm tags:
image

results in Busy Hours (first period, 06:30-12:30, has vanished):
image

transport hours tags were added using Busy Hours

(the bug is actually in both transport-hours-js & transport-hours-py libs)

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

No branches or pull requests

1 participant