opening_hours.js icon indicating copy to clipboard operation
opening_hours.js copied to clipboard

Add support for the following format

Open fodor0205 opened this issue 10 years ago • 4 comments

The following format: Oct-May: Mo-Fr 08:30-16:30; May-Oct: Mo-Fr 08:30-17:30; Sa 09:00-13:00 gives an Unexpected token: ":,timesep" exception in JavaScript.

I've checked it with http://openingh.openstreetmap.de/evaluation_tool/ and it displayed the desired info.

This facility has two seasons:

  • from May 1 to Sept 30:
    • open from Monday to Friday 08:30-17:30
    • open on Saturday 09:00-13:00
  • from Oct 1 to Apr 31:
    • open from Monday to Friday 08:30-16:30

Please correct me if my expression is wrong. Thanks.

fodor0205 avatar Aug 30 '14 09:08 fodor0205