diff options
author | ache <ache@FreeBSD.org> | 1996-05-10 19:31:02 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-05-10 19:31:02 +0000 |
commit | 9fe3b1633ad7c0a4710f3e92c67f36011748d98c (patch) | |
tree | abe9257e02c1969caec23509a68972ff6d675699 /usr.bin/calendar/paskha.c | |
parent | a28a8481af3f2a2145d2a6c164a6299934c2bb3f (diff) | |
download | FreeBSD-src-9fe3b1633ad7c0a4710f3e92c67f36011748d98c.zip FreeBSD-src-9fe3b1633ad7c0a4710f3e92c67f36011748d98c.tar.gz |
Localize even more.
FIx Orthodox Easter calculation
Better debug output
Diffstat (limited to 'usr.bin/calendar/paskha.c')
-rw-r--r-- | usr.bin/calendar/paskha.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/calendar/paskha.c b/usr.bin/calendar/paskha.c index 28eb8c0..42c2058 100644 --- a/usr.bin/calendar/paskha.c +++ b/usr.bin/calendar/paskha.c @@ -50,7 +50,7 @@ int R; /*year*/ c = R % 7; d = (19*a + x) % 30; e = (2*b + 4*c + 6*d + y) % 7; - return ((cumdays[2/*feb*/] + 22/*mar*/) + (d + e)); + return (((cumdays[3] + 1) + 22) + (d + e)); } /* return year day for Orthodox Easter depending days */ |