<div dir="ltr"><div dir="ltr">On Sat, 18 May 2019 at 12:01, Simon Poole <<a href="mailto:simon@poole.ch">simon@poole.ch</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <p><br>
    </p>
    <p>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.</p></div></blockquote><div><br></div><div>Syntactically, probably not a problem.  Calculation of the astronomical events is well-defined.</div><div>Interpreting those events is not:  In some schools of Islam, calculation suffices; in others</div><div>visual confirmation is required.  The two can (and often do) differ by a day.  Possibly</div><div> solvable by having ramadan_x and ramadan_y.  Or just by ignoring the problem and stating</div><div> that "ramadan" means local definition of Ramadan, whatever that happens to be.<br></div><div><br></div><div>Note also that whilst opening_hours blithely defines "easter," the date on which it falls</div><div>differs between the Catholic and Orthodox churches.  When a country celebrates</div><div>Easter depends upon religious factors.</div><div><br></div><div>Can we just ignore the problem?  For Easter, maybe.  Data consumers could build in</div><div>country-specific rules defining if Easter is Orthodox or Catholic.  Along with astronomical</div><div>calculations, that would allow an app to say "This office in a different country from you is</div><div>closed because it follows a different definition of Easter from your location."  Not so easy</div><div>for Ramadan defined by visual observation.<br></div><div><br></div><div>A bigger problem, as I see it, is that cultures using the luni-solar calendar often have days of</div><div> the week that begin at sunset, not midnight.  Especially important in religious observances:</div><div> the Jewish Sabbath starts at sunset on Friday.  In the current scheme, "Su off" is not strictly</div><div>necessary (it can be inferred) but to be fair to other cultures you'll need to be able to specify</div><div>Sabbath (the obvious abbreviation has a clash) and similar days in other cultures.</div><div><br></div><div>These are just the problems I know of.  I doubt that is all of them.</div><div><br></div><div>-- <br></div><div>Paul</div><div><br></div></div></div>