[Remind-Fans] orthodox easter (pascha) calculation. tested and NOT working.
James Miller
gajs-f0el at dea.spamcon.org
Thu Jun 1 18:45:23 EDT 2017
On Fri, 2 Jun 2017, gino.aerografia wrote:
> Hi, sorry for the trouble, i thought i had corrected some typing errors
> and miscalculations in the original post, in later messages, but i can't
> be sure. Please, try this code, and let me know about the results.
> Thank you!
>
> SET cal_d 44-((((year(today())-2)%19)*11)%30)
> IF cal_d <= 20
> SET pas_d date(year(today()),04,cal_d)+13
> ELSE
> IF cal_d <= 30
> SET pas_d date(year(today()),03,cal_d)+13
> ELSE
> SET pas_d date(year(today()),04,cal_d-30)+13
> ENDIF
> ENDIF
> SET Easterdate evaltrig("Sunday",pas_d)
> REM [Easterdate] MSG Holy Pascha
Hi. Thanks for your input but this code also does not work for me. Let me
explain. If I put this code into a reminders file--let's call it
annual-cal_test.rem--then run the command remind -p12 annual-cal_test.rem
jan 2019 |rem2ps -l -e >2019cal.ps, I get a bunch of error messages in
stdout and the resulting postscript calendar contains no "Holy Pascha"
entry.
Am I doing something wrong, or is there a problem with the code? I confess
to being fairly ill-informed about the more advanced features of remind
and their workings, in addition to being something of a mathematical
Neanderthal, so any issue I am seeing may well be down to user error.
Btw, I left off the code below because I am not interested in tracking St.
George's day.
> SET Gdate date(year(today()),04,23)
> IF (Easterdate -40 <= Gdate && Gdate <= Easterdate)
> REM Mon [Easterdate] MSG Saint George's Day
> ELSE
> REM 23 Apr MSG Saint George's Day
> ENDIF
PS I still can't determine whether your code takes account of 14 Nisan and
tries to ensure that Holy Pascha does not occur on a Sunday that precedes,
but rather on one that follows, 14 Nisan. Can you clarify for me whether
your code takes account of 14 Nisan?
More information about the Remind-fans
mailing list