You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
e.g. Jan-Dec 1-31/2 -> "Open every odd day of month" or the same for every even day of a month.
Use case
Currently, the way to express the above correctly in line with the specification would be Jan 1-31/2, Feb 1-29/2, Mar 1-31/2, Apr 1-30/2, May 1-31/2, Jun 1-30/2, Jul 1-31/2, Aug 1-31/2, Sep 1-30/2, Oct 1-31/2, Nov 1-30/2, Dec 1-31/2
A real life example of such "opening hours" would be this road sign, which is a conditional "no parking" restriction for odd days of a month, found in some countries following the Vienna convention on road signs.
It is tagged like parking:condition:*:conditional=no_parking @ (<opening hours>)
It is possible that contributors that happen upon such opening hours (or restrictions) will not use the correct syntax but just use Jan-Dec 1-31/2 or similar because one needs to know the specification really really well to know that at this position, month ranges are not allowed. They are allowed at other positions in the specification after all.
Issues
There are two issues: on the one hand there are no month day ranges that are separate from dates. What is supported is only Jan 1-31 which simply is short hand for Jan 1 - Jan 31, so support would require month day ranges as an independent construct. Not sure if that wouldn't create even more ambiguity in parsing (for example with that shorthand). The 2nd minor issue is adding an interval specification, that is unlikely to be problematic on it's own. - @simonpoole
The text was updated successfully, but these errors were encountered:
e.g.
Jan-Dec 1-31/2
-> "Open every odd day of month" or the same for every even day of a month.Use case
Currently, the way to express the above correctly in line with the specification would be
Jan 1-31/2, Feb 1-29/2, Mar 1-31/2, Apr 1-30/2, May 1-31/2, Jun 1-30/2, Jul 1-31/2, Aug 1-31/2, Sep 1-30/2, Oct 1-31/2, Nov 1-30/2, Dec 1-31/2
A real life example of such "opening hours" would be this road sign, which is a conditional "no parking" restriction for odd days of a month, found in some countries following the Vienna convention on road signs.
It is tagged like
parking:condition:*:conditional=no_parking @ (<opening hours>)
It is possible that contributors that happen upon such opening hours (or restrictions) will not use the correct syntax but just use
Jan-Dec 1-31/2
or similar because one needs to know the specification really really well to know that at this position, month ranges are not allowed. They are allowed at other positions in the specification after all.Issues
The text was updated successfully, but these errors were encountered: