Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-24 Thread Paul Allen
On Fri, 24 May 2019 at 07:57, Colin Smale wrote: > Is the Jewish calendar in active use? > By followers of Judaism. A lot of their holy days are based upon luni-solar calculations. As is Easter (and other movable Christian feasts). The Islamic calendar has a lot in common with the Judaic cale

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-24 Thread Paul Allen
On Fri, 24 May 2019 at 01:45, Kevin Kenny wrote: > > 'easter' suffices for the entirety of the Christian calendar[1]. Really? So the Catholic (Western) and Orthodox (Eastern) churches have reconciled their calendrical differences? Admittedly, if you know which religious definition of Easter a

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-24 Thread Phake Nick
Ah, and about the Chinese calendar leap month I mentioned a while ago, it seems like some algorithm nowadays would tweet those leap month as negative values, for instance if it is the 8th month that get leaped, then it could be computationally represented as Lunar month -8. 在 2019年5月24日週五 14:57,Co

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-23 Thread Colin Smale
Is the Jewish calendar in active use? I recall it has an extra month every few years, and rules about months not starting on a Monday or something like that. Might be a nightmare for opening_hours. ___ Tagging mailing list Tagging@openstreetmap.org http

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-23 Thread Phake Nick
then again, what about month numbering in Chinese calendar? There are no month name, only lunar month 1, lunar month 2, etc. 在 2019年5月22日週三 20:33,Paul Allen 寫道: > On Wed, 22 May 2019 at 09:16, Rory McCann wrote: > >> >> I don't know much about the islamic calendar. Could you give some >> exampl

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-23 Thread Kevin Kenny
On Wed, May 22, 2019 at 10:10 AM Simon Poole wrote: > That is not really correct as written, OH has the concept of variable dates > which are based on some external definition of when they exactly are, > currently the only one defined is "easter". Typically you would use these to > start/end d

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-23 Thread Graeme Fitzpatrick
On Thu, 23 May 2019 at 22:27, Andy Mabbett wrote: > > If only there was some sort of ISO standard for representing dates... > Yep, especially when you get those pesky Americans involved :-) Is 5/6, the 5th of June or the 6th of May? Thanks Graeme __

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-23 Thread Andy Mabbett
On Wed, 22 May 2019 at 13:31, Paul Allen wrote: > The problem with that is the same problem as allowing every language on the > planet to > use their own abbreviations for month names. Only worse. > > For better or worse, we standardized on three-letter abbreviations for > English month names.

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-23 Thread Philip Barnes
On Thursday, 23 May 2019, Paul Allen wrote: > On Thu, 23 May 2019 at 00:06, Graeme Fitzpatrick > wrote: > > > > > But what are Christmas & Easter if they're not religious holidays? :-) > > > > Not all religious holidays are created equal. Many cafes and restaurants > in tourist areas are > clos

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-23 Thread Paul Allen
On Thu, 23 May 2019 at 00:06, Graeme Fitzpatrick wrote: > > But what are Christmas & Easter if they're not religious holidays? :-) > Not all religious holidays are created equal. Many cafes and restaurants in tourist areas are closed on Christmas Day/Boxing day but are open on Good Friday/Easte

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-22 Thread Graeme Fitzpatrick
On Thu, 23 May 2019 at 00:10, Simon Poole wrote: > (I suppose there might be a use case for "RH", religious holidays, but > lets don't add baggage before somebody actually asks for it :-)). > But what are Christmas & Easter if they're not religious holidays? :-) Thanks Graeme _

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-22 Thread Rory McCann
On 22/05/2019 14:31, Paul Allen wrote: The problem with that is the same problem as allowing every language on the planet to use their own abbreviations for month names. Only worse. I'm not proposing that, I suggest we create a (short) list of accepted calendar systems, and accepted abbreviati

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-22 Thread Simon Poole
Am 22.05.2019 um 14:31 schrieb Paul Allen: > .. > As others have pointed out, we might be able to accommodate holidays.  > Although we're likely > to end up with collisions in the two-character namespace we currently > allow for them.  Feasible, > maybe.  Month names are something that isn't feasi

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-22 Thread Paul Allen
On Wed, 22 May 2019 at 09:16, Rory McCann wrote: > > I don't know much about the islamic calendar. Could you give some > examples of what data you'd like to enter? Most "opening hours" don't > need to include years, so is that a problem? You could just use the > islamic calendar month names if ne

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-22 Thread Rory McCann
On 17/05/2019 21:13, Paul Allen wrote: I think that you would have to come up with something like opening_house:islamic or something like that to segregate the two systems. There are some downsides to using a new `opening_hours:islamic` key: * What happens if there's an `opening_hours=*` and

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-19 Thread Saeed Hubaishan
i36> From: Simon Poole 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 publ

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-18 Thread Simon Poole
Am 18.05.2019 um 15:28 schrieb Paul Allen: > ... > Can we just ignore the problem?  For Easter, maybe.  Data consumers > could build in > country-specific rules defining if Easter is Orthodox or Catholic.  > Along with astronomical > calculations, that would allow an app to say "This office in a >

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-18 Thread Paul Allen
On Sat, 18 May 2019 at 12:01, Simon Poole wrote: > > 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. > Syntactically, probably not a problem.

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-18 Thread Simon Poole
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

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-18 Thread 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 w

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-17 Thread Paul Allen
On Fri, 17 May 2019 at 21:19, Mateusz Konieczny wrote: 17 May 2019, 21:13 by pla16...@gmail.com: > > I think that you would have to come up with something like > opening_house:islamic or > something like that to segregate the two systems. > > I am not convinced that it would make it less messy -

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-17 Thread Mateusz Konieczny
17 May 2019, 21:13 by pla16...@gmail.com: > On Fri, 17 May 2019 at 19:42, Saeed Hubaishan <> hubais...@outlook.sa > > > wrote: > >> >> So opening_hours syntax must accept the other calendar systems. >> > > Opening_hours syntax is complicated enough, without adding

Re: [Tagging] Opening hours syntax for non Gregorian calendar

2019-05-17 Thread Paul Allen
On Fri, 17 May 2019 at 19:42, Saeed Hubaishan 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 i

[Tagging] Opening hours syntax for non Gregorian calendar

2019-05-17 Thread Saeed Hubaishan
As I see in the wiki opening hours should be in Gregorian calendar only. But in fact there are many countries and religions using another calendars that affect the opening hours. We (Muslims) used the Hijri Calendar https://en.wikipedia.org/wiki/Islamic_calendar (lunar calendar) for our holi