Talk:Holidays related to Easter: Difference between revisions
Content added Content deleted
m (→Description) |
|||
Line 58: | Line 58: | ||
if (church == 1) { |
if (church == 1) { |
||
let d = (year % 19 * 19 + 15) % 30; |
let d = (year % 19 * 19 + 15) % 30; |
||
d += (year % 4 * 2 + year % 7 * 4 + 6 * d + 6) % 7; |
|||
if (calendar == 1) |
if (calendar == 1) |
||
return d > 9 ? [d - 9, 4] : [22 + d, 3]; |
return d > 9 ? [d - 9, 4] : [22 + d, 3]; |