-
Notifications
You must be signed in to change notification settings - Fork 121
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 an automatic invert function #352
Comments
Hm, I don’t have a clear idea yet how I could program this so that the inverse that would be generated is actually an "optimal" way to express it. So before we talk about extending https://openingh.openstreetmap.de/evaluation_tool/, lets maybe talk about how the syntax can be used in clever yet defined ways to achieve what you want. My idea:
See https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification#explain:rule_modifier:closed This makes it really quick to "toggle" inverse and normal. But that is open for discussion. It was just the first thing I came up with right now. |
Interesting, the request was related in usage of date/time values for traffic signs. I never used the Edit |
Yes, it is already supported (for years already). I guess now that I read it a second time, I don’t see anything wrong with this so I would say you can use it. |
Lets say we have a opening/service time of
Mo-Fr 09:00-17:00
and for conditional syntax you want to write the inverted times like:
Mo-Fr 00:00-09:00,17:00-24:00, Sa,Su 00:00-24:00
The text was updated successfully, but these errors were encountered: