Adding ramadan as <variable_date> is good.

I also  suggest adding optional [@calendar] to date range rules for non 
Gregorian dates and using month number instead of month abber name for example:

Sa-Th 09:00-21:00; 09/01-09/30 @hijri 20:00-03:00


الحصول على Outlook for Android<https://aka.ms/ghei36>

________________________________
From: Simon Poole <si...@poole.ch>
Sent: Saturday, May 18, 2019 1:59:39 PM
To: tagging@openstreetmap.org
Subject: Re: [Tagging] Opening hours syntax for non Gregorian calendar



As I've pointed out before the one thing that is unproblematic to add are more 
variable date public holidays, right now there is only easter defined,  adding 
ramadan for example would be no problem.

Further expressing a rule is one thing, evaluating it is a something else, and 
adding some kind of "context" value to help in the later (for example a time 
zone value as has been suggested previously)  could potentially work.

Simon

Am 18.05.2019 um 12:34 schrieb Phake Nick:
That doesn't seems to solve the problem that would occur. For instance, how to 
represent the first Sunday (a feature in Gregorian calendar) after Chinese 
traditional ceremony X (a feature in Chinese traditional calendar) in the 
opening time syntax, if they're split up for "simplicity"? What about when the 
opening time also cover non-holiday festivals that only occurs according to 
either calendars?

On 2019-05-18 Sat 04:50, Paul Allen 
<pla16...@gmail.com<mailto:pla16...@gmail.com>> wrote:
Problem of splitting: what if a mapper gives the opening times in both 
calendar_X and calendar_Y
and they disagree?  Consumers will have to have rules like: in country_Z use 
calendar_X if given,
otherwise use standard opening_hours if given, otherwise use calendar_Y if 
given, otherwise
pick at random from what is left.

--
Paul

_______________________________________________
Tagging mailing list
Tagging@openstreetmap.org<mailto:Tagging@openstreetmap.org>
https://lists.openstreetmap.org/listinfo/tagging



_______________________________________________
Tagging mailing list
Tagging@openstreetmap.org<mailto:Tagging@openstreetmap.org>
https://lists.openstreetmap.org/listinfo/tagging

_______________________________________________
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging

Reply via email to