OpeningHoursParser icon indicating copy to clipboard operation
OpeningHoursParser copied to clipboard

Document extension to the spec: Referring to specific weekday for dates and date ranges

Open westnordost opened this issue 1 year ago • 1 comments

The syntax <month> <weekday> [<nth>] is not documented in the spec, although it is supported both by this parser and also the opening_hours.js

westnordost avatar Jan 10 '24 00:01 westnordost

Hm, actually Apr Fr[1,-1] is not necessarily an extension of the specification, as it could be parsed as <month_selector> <weekday_selector>. (Funnily enough, this is not supported by opening_hours.js)

Only <month> <weekday> [<single nth_entry>] - <month> <weekday> [<single nth_entry>] is not mentioned in the spec.

westnordost avatar Jan 10 '24 11:01 westnordost