[Tagging] opening_hours and related tags: hours past 24:00
stevea
steveaOSM at softworkers.com
Sun Oct 17 09:03:00 UTC 2021
Yeah, it makes sense that in some senses, a “machine parsing” might be likely or even expected, in other senses, a “human being using ‘common reasoning, obviously’” make sense. See, sometimes we skew towards how machine parsing is “expected or preferred,” sometimes we expect that “well, obviously, we want to make this obvious and clear to humans to understand.”
It isn’t always that clear-cut.
> On Oct 17, 2021, at 1:51 AM, Sarah Hoffmann <lonvia at denofr.de> wrote:
>
> On Sun, Oct 17, 2021 at 09:44:15AM +0200, Mateusz Konieczny via Tagging wrote:
>>
>>
>>
>> Oct 16, 2021, 09:09 by skquinn at rushpost.com:
>>
>>> Unfortunately none of the
>>> examples use it outside of 24:00
>>>
>> I created https://wiki.openstreetmap.org/wiki/Key:opening_hours#Closing_after_midnight
>> Please, edit it (or at least let me know) if anything is wrong there.
>
> Could you or Simon elaborate how you come to the conclusion that "Mo 20:00-02:00"
> is invalid?
>
> https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification#extended_hour_minutes
> states that "Mo 20:00-02:00" is perfectly valid syntax. In fact, it even goes on to
> admit that it might be "easier to read".
>
> If I just look at https://wiki.openstreetmap.org/wiki/Key:opening_hours#Summary_syntax
> then your example is even wrong because there is just states:
>
> HH: An absolute 2-digit hours number (in day, in 24 hour format, no am/pm)
> in range 00-23, e.g. Fr 08:30-20:00.
>
> Netzwolf's original specification agrees:
>
> 7. If the second time is earlier then the first one, it is assumed to be on the next day.
>
> (from https://www.netzwolf.info/en/osm/time_domain/specification.html)
>
>
> In general, I don't think it is a good idea to use an example to endorse and
> promote a questionable decision that until now was probably not even known by
> anybody outside the small circle of opening hour experts.
>
> The extended hour specification might be written down somewhere in our wiki but
> that doesn't mean that anybody is forced to use it. So lets have a
> discussion first which notation to put into a prominent example.
>
> Sarah
>
> _______________________________________________
> Tagging mailing list
> Tagging at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tagging
More information about the Tagging
mailing list