OpeningHoursParser
OpeningHoursParser copied to clipboard
Document extension to the spec: Referring to specific weekday for dates and date ranges
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
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.