Conditions with date ranges

How to tag that some feature is generally wheelchair-accessible, but not during a specific date range? I was thinking of the following:

wheelchair=yes
wheelchair:conditional=no @ 2024 Dec 16 - 2025 Dec 14

In the opening hours specification, the last rule for <monthday_range> seems to allow for <date_from> - <date_to>, which (if I’m interpreting the spec correctly) should support full dates. However, even though the above condition gets accepted by an opening hours validator, it’s getting mis-interpreted. For example, the validator displays 2024-11-30 as closed. Is this just a bug in the validator, or should I use a different syntax? But how else to tag this?

— Sascha

1 Like

From what I can tell it looks like it’s correct and also getting interpreted correctly.
2024 Nov 30 is outside your date range therefore it gets shown as closed.
Which would translate to the condition not being met and therefore wheelchair=yes

If you go a few weeks forward from December 16 the condition is met and wheeelchair will be no

Thanks for your confirmation, much appredciated! I got confused by the colors in the validator page. I thought green/red means open/closed, but it looks like that’s not actually what the site is trying to tell.

Ah okay
Yes it is a little confusing.
For the days on the left green only means that those are weekdays (Mo-Fr) and orange are weekend days.
Whether something is open is represented by the white bars on the right. When no time range is given like in your exnmqple it’s just gonna be a bar across all times like this: