[Remind-Fans] orthodox easter (pascha) calculation. tested and NOT working.
Larry Hynes
larry at larryhynes.com
Thu Jun 1 19:19:52 EDT 2017
James Miller <gajs-f0el at dea.spamcon.org> wrote:
> 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.
It might be helpful if you would please share the content of the
'bunch of error messages'.
Using the updated code from gino.aerografia (all of it) in a file
named g.rem, and running
remind -p12 g.rem jan 2019 | rem2ps -l -e >g.ps
gives me no error messages, and indicates, in the resulting .ps
file, that Holy Pascha is on Sunday 28th April 2019. (I do not know
if that is correct.)
More information about the Remind-fans
mailing list