OSM-de / WebToOSMOH

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

Missing trailing 0 #13

Open RayBB opened 1 year ago

RayBB commented 1 year ago

Text input Opening hours:  Monday to Friday, 11:00 a.m. to 11:30 p.m. (or earlier if not busy)

Output Mo-Fr 11:00-11:3

Seems to be missing the trailing 0, which is valid but I think not preferable? https://projets.pavie.info/yohours/?oh=Mo-Fr%2011:00-11:3

kmpoppe commented 1 year ago

Thanks for reporting this, Ray.

It seems the reason is " or" which seems to be replaced in a fashion that it erases the last digit. I will investigate how that happens.

K