OSM-de / WebToOSMOH

Conversion of website content to OSM understood opening_hours
MIT License
8 stars 5 forks source link

Weird output #11

Open Outlet2048 opened 2 years ago

Outlet2048 commented 2 years ago

Entering

Montag - Freitag 07:00 18:30, Samstag 09:00 - 14:00 results in the output of Mo-Fr-Sa 09:00-14:00

Usually I'd expect it to output the following: Mo-Fr 07.00-18:30; Sa 09:00-14:00;

kmpoppe commented 2 years ago

It gets a little less weird, when you have a - between the Mo-Fr opening times.

I'll have to check if there's a way to guess whether nn:nn (any amount of whitespaces) mm:mm might actually mean nn:nn-mm:mm 🤔

Outlet2048 commented 2 years ago

Montag - Freitag: 07:00 18:30 Samstag: 09:00 - 14:00

results in:

Mo-Fr-Sa 09:00-14:00

Adding a '-' does fix it