<html><head></head><body>If 06:00-25:00 is supposed to be valid, I think it's worth adding as an exemple on the wiki as some would find it weird.<br>Yves <br><br><div class="gmail_quote">Le 16 octobre 2021 09:09:16 GMT+02:00, "Shawn K. Quinn" <skquinn@rushpost.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre dir="auto" class="k9mail">So apparently at least two different validators disagree on which is<br>valid syntax for opening times stretching beyond midnight:<br><br>opening_hours=Fr-Sa 06:00-01:00<br>opening_hours=Fr-Sa 06:00-25:00<br>opening_hours=Fr 06:00-24:00; Sa 00:00-01:00,06:00-24:00; Su 00:00-01:00<br><br>(pretend the third one is all on one line; Thunderbird is being weird<br>about line wrapping)<br><br>JOSM throws a warning for the first but not the second. Apparently<br>Osmose throws a warning for the second but not the first. The third is<br>unquestionably valid in any validator but (at least IMHO) needlessly<br>inefficient and clumsy, and something I'd rather avoid having to resort to.<br><br>The second has always made more sense to me and I get the impression<br>that it's actually the preferred syntax per the formal specification on<br>the wiki (search for "extended_hour"). Unfortunately none of the<br>examples use it outside of 24:00 (the midnight on which a day ends, i.e.<br>Fr 24:00 and Sa 00:00 would be the same time) so there are some who<br>don't think it's valid syntax. Are there any programs which use OSM data<br>which have issues with hour values above 24, either choking outright or<br>which interpret them in a buggy fashion? Should bugs be filed with JOSM<br>and/or Osmose about this?<br><br><div class="k9mail-signature">-- <br>Shawn K. Quinn <skquinn@rushpost.com><br><a href="http://www.rantroulette.com">http://www.rantroulette.com</a><br><a href="http://www.skqrecordquest.com">http://www.skqrecordquest.com</a><hr>Tagging mailing list<br>Tagging@openstreetmap.org<br><a href="https://lists.openstreetmap.org/listinfo/tagging">https://lists.openstreetmap.org/listinfo/tagging</a><br></div></pre></blockquote></div></body></html>