rezemika / humanized_opening_hours

A parser for the opening_hours fields from OpenStreetMap
GNU Affero General Public License v3.0
26 stars 20 forks source link

Make day parser more generalizable to complex combinations of days and day ranges #6

Closed nbolten closed 6 years ago

nbolten commented 6 years ago

humanized_opening_hours currently fails when parsing day fields that have a single day and then a day range, e.g. Mo, We-Fr 10:00-17:00. This pull request is a starting point for fixing this issue, but should be taken with a grain of salt since I'm new to EBNF.

rezemika commented 6 years ago

Ping @nbolten. ;)