[Remind-Fans] orthodox easter (pascha) calculation. tested and NOT working.
gino.aerografia
gino.aerografia at gmail.com
Thu Jun 1 19:27:55 EDT 2017
Hi again and, yes Mr. Inter, i think we had this conversation before,
and i'm glad you are well! as for your script, i remember i had tried it
and i really liked it. so, Mr. James, i suggest you to take a look also
there! ;)
Now, as for your questions, 1) Yes, it takes account of 14 Nisan.
that's the whole point of the intermediate variable 'pas_d'. the
problem is elsewhere, and i spotted it now. i will explain later, and
the possible solution. 2) You can leave the code about St. Georges date
off, no prob with that. i had it just because it's a very important day
in greece.
to the problem now: the line 'SET Easterdate evaltrig("Sunday",pas_d)'
were supposed to set Easterdate as the first Sunday after 'pas_d'
variable.
the problem occurs when 'pas_d' is actually a Sunday, so the script
sets Easterdate on that Sunday, and NOT the next, as i thought it
will (in other words, one week earlier than it should be)!!! the
solution is an IF statement, to check if 'pas_d' is a Sunday, and if
so, to increment it by +1 (=Monday) and then to proceed on 'SET
Easterdate evaltrig("Sunday",pas_d)'.
I will correct it tomorrow morning, because it's really late now here.
Good night to everyone!
More information about the Remind-fans
mailing list