[OSM-dev] JavaScript Opening Hours Parser

Ian Dees ian.dees at gmail.com
Sat May 4 15:06:44 UTC 2013


In an effort to bring opening_hours editing to iD and to make it easier for
businesses to add themselves to OSM, I wrote a bit of JavaScript to parse
existing opening_hours tag values and display them in an easy-to-read form.

You can give it a try here:
http://osmlab.github.io/jsopeninghours/

Keep in mind that the goal of this is to parse the most common cases and to
not screw up data when it encounters something it can't parse.

Give it a whirl and please submit bugs if you see them. Once this is robust
I'll probably write something to get it in to iD.

Thanks,
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20130504/1cda2754/attachment.html>


More information about the dev mailing list