Hi. Some conditional restrictions are based on religious dates such as Holy Week or Easter Sunday, which occur on different dates each year.
I couldn’t find a way to write that in opening hours specification. Can these religious dates be written in that specification?
If not, it would be ok in OSM to tag that restrictions calculating the exact dates for a few years, e.g. from 2026 to 2030, generating a long string for the conditional restriction?
I can talk about “Easter” only. If you find a way to specify this in “opening_hours”, you can calculate all other variable Christian holydays from that: Easter-2, Easter+1, …, Easter+40, …
Gracias. No habia encontrado esa capacidad en la documentación!
Lo etiqueté en un par de vias, veremos que pasa llegada esa semana y que ruteadores son capaces de usar este detalle. Al parecer solo GraphHopper podría usarla hoy por hoy, pero no esta mal etiquetarlo, asi cortamos el problema del huevo y la gallina.
For now, the only variable yearly fest day specified is Easter (assuming the Christian Gregorian calendar).
Have any OSM communities ever required/used a different religious date, even a different Easter? Eg: Eastern Christian Easter is typically (not always) on a different date from the Western one.
Por el momento, la única fiesta variable anualmente específica es Easter (asumiendo el calendario Gregoriano cristiano).
¿Ha habido alguna vez alguna comunidad OSM que haya necesitado/usado una fecha religiosa diferente, incluso una Pascua diferente? Por ejemplo: en la tradición cristiana oriental, la Pascua cae normalmente (no siempre) en una fecha distinta a la occidental.
Currently easter is the only “pre-defined” religious date in the OH specification, however this is one (if not the only one) area for which I believe there could be support for extending the spec, as these are unlikely to conflict with anything else. This has been proposed in the past, iirc for Ramadan, but nothing ever came of it.
Probably, this thread can be a starting point for the opening_hours syntax to be inclusive of different calendars and festivities. I would definitely support that!
I was referring to the sun eclipse equinox, start of astronomical spring in the northern hemisphere. This is on March 21 in my hemisphere, might fall on different dates in other types of calendars.
Easter is in there because the computus is such a famously difficult problem in Western calendaring, despite the otherwise solar Gregorian or Julian calendar. To fully accommodate observances from some other cultures, we’d probably need to more generally consider lunar/lunisolar calendars, as you’ve discovered in your examples.
I’d seek out prior art before devising another ad hoc syntax that we gradually discover to be underspecified. RFC 7529 and Wikipedia’s calendar date template system could be useful for understanding the scope of such a project. There’s probably some precedent in the library science community for representing non-Gregorian calendar dates in a compact syntax, as there is for uncertain dates with the EDTF standard (compare to OSM).
All of this of course recognizing that any non-Gregorian dates would be wholly incompatible with the existing ecosystem of opening_date=* parsers. But as long as any changes are additive and clearly identifiable, at least that would be no worse than the current situation for any opening dates that really do depend on these calendars.