[Tagging] Opening hours syntax for non Gregorian calendar

Paul Allen pla16021 at gmail.com
Fri May 17 19:13:27 UTC 2019


On Fri, 17 May 2019 at 19:42, Saeed Hubaishan <hubaishan at outlook.sa> wrote:

>
> So opening_hours syntax must accept the other calendar systems.
>

Opening_hours syntax is complicated enough, without adding other calendar
systems.  It
is a compromise between human readability and computer parseability.  Some
would say it
is already too complicated, even though it doesn't handle some things that
some people
would like it to.

I think that you would have to come up with something like
opening_house:islamic or
something like that to segregate the two systems.

And that only handles dates.  Some Islamic countries use solar time rather
than a time offset
from UTC.  Worse, different Islamic countries have slightly different
definitions of solar time.
And then some places may use the solar time (defined one way) of a central
location whilst
others use the solar time (possibly defined a different way) locally: one
country might use
solar time in the capital city everywhere in the country whilst another
uses the local solar time.
You can probably get away with saying "12:00 means noon in this locality,
however they define
it" but maybe not.  "However the locals define it" is probably workable for
tourists, not so good
for people who want to phone an office on the other side of the country
before it closes.

It gets messy, but if you can come up with something that handles all the
possibilities,
that's great.  But please put it in opening_hours: whatever_we_call_it
rather than ordinary
opening_hours.  Because opening_hours is already messy enough.

-- 
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20190517/25ad3cd8/attachment.html>


More information about the Tagging mailing list