-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Modify opening hours checks to handle inverted date ranges and ignore Holiday syntax #4992
Comments
I don't understand how we can support the Looking around for School holidays are not even standardized across states in Germany. |
@daniel-j-h I have updated the title to reduce the scope just to a bug fix. The problem is in osrm-backend/include/util/opening_hours.hpp Lines 194 to 212 in 8a63ad9
So the rule is active with the |
Inverted date ranges
Implement support of date ranges that wraparound a year, e.g. winter closure,
Nov 1 - Mar 1
.Unit test to add to
unit_tests/util/opening_hours_parsing.cpp
Holiday syntax in opening hours
SH/PH syntax, from osm wiki: "School Holiday, can be used to indicate different opening hours during school holidays (e.g., Mo-Fr 08:00-09:00,14:00-15:00; SH off)"
The following unit tests to add into
unit_tests/util/opening_hours_parsing.cpp
/cc @srividyacb
The text was updated successfully, but these errors were encountered: