[Tagging] opening_hours and related tags: hours past 24:00

Sarah Hoffmann lonvia at denofr.de
Sun Oct 17 08:51:15 UTC 2021


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



More information about the Tagging mailing list