[Tagging] opening_hours and related tags: hours past 24:00
Shawn K. Quinn
skquinn at rushpost.com
Sat Oct 16 19:23:54 UTC 2021
On 10/16/21 10:53, Simon Poole wrote:
> It is literally the correct grammar.
>
> Now the case to do it this way, is likely due to be able to have time
> ranges where the end time is numerically larger than the start time, so
> say something like
>
> 22:00-47:00
>
> which is not the same as
>
> 22:00-23:00
>
> To further use this example, all ranges starting with 22:00 with end
> times up to 21:59
>
> 22:00-21:59
>
> can be unambiguously parsed without reverting to the extended notation.
>
> I would support changing the specification to make this a legit part of
> the grammar, but in a non-haphazard fashion that allows the previous
> valid values to work going forward.
It already is valid, according to the formal specification, though none
of the examples use it, and it does look a bit odd until one realizes
what it means. (I had no trouble understanding it, but a lot of other
mappers still don't realize opening_hours and friends have a specific
syntax and aren't free form text fields where one can just slop anything.)
--
Shawn K. Quinn <skquinn at rushpost.com>
http://www.rantroulette.com
http://www.skqrecordquest.com
More information about the Tagging
mailing list