[Tagging] opening-hours: how to code "always but..."? Syntax diagram.

André Pirard A.Pirard.Papou at gmail.com
Sun Oct 20 01:00:50 UTC 2013


Thanks for your replies.

On 2013-10-19 22:54, Janko Mihelić wrote :
> I think the best solution for your problem is:
> 24/7;Fr 00:00-14:00,22:00-24:00
> I wouldn't use "off", I'm not sure a lot of data consumers consider it.
OK, I changed the diagram to accept 24/7 that way.
But not using "off" means that the period is open, not closed.

On 2013-10-19 22:54, Charles Basenga Kiyanda wrote :
> If I understand the opening_hours wiki page correctly you're missing a
> semicolon and the correct input should be:
> opening_hours=24/7; Fr 14:00-22:00 off
> Does that work?
Ouch, the missing semicolon is a typo in my report, it was in the tag.
"working"? That's a convention.
Regarding OpeningHoursEdit, it first complains about "24/7;" and if I
remove it,  about the rest. 2 bugs.
> Alternatively, omitting the 24/7 part would be correct as it's implied
> if the off range is not preceded by anything
> opening_hours=Fr 14:00-22:00 off
I finally chose to be kind reveal a single bug that way.
I prefer this also because fear the rendered to display a 24/7 icon even
if the hours are shortened as above.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20131020/3868bcc7/attachment.html>

More information about the Tagging mailing list