Bug 156601 - Wrong calculation of the Greek-orthodox Easter (pascha) in year 2008. (possibly because of the leap year 2008)
Summary: Wrong calculation of the Greek-orthodox Easter (pascha) in year 2008. (possib...
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-01-24 22:01 UTC by Michael Grivas
Modified: 2009-02-07 08:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grivas 2008-01-24 22:01:01 UTC
Version:           4.0 alpha 1  (using KDE 3.94.00) -- BUT running it on GNOME (using KDE 4.0.0)
Installed from:    Ubuntu Packages
Compiler:          I didn't compile anything : gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) 
OS:                Linux

The Greek-orthodox Easter (pascha) for the 2008 is calculated wrongly in 23 of March, while it is on the 27 of April. 
That does not happen in the 2007.
I suspect the difference may be because of the exception of the leap year in the formula of calculation.
The calculcation is (for A1 = year)
MOD(19*MOD(A1;19)+16;30)+MOD(2*MOD(A1;4)+4*MOD(A1;7)+6*MOD(19*MOD(A1;19)+16;30);7)+3
where any number < 31 is the date in April, otherwise it is in May (subtracing 30).
Comment 1 Allen Winter 2008-01-25 16:56:58 UTC
strange.

I see Pascha on 27 April.
I see Easter on 23 March.

But I do recall putting in a new Greek holidays file recently.
So maybe that's why it works for me.

Can you try updating?
Comment 2 Michael Grivas 2008-01-31 16:57:32 UTC
On this machine/setup I'm using the Ubuntu recommended procedures (for comparison and educational reasons). As soon as they provide an update, I'll do it. 

However, I fail to see the difference between Pascha and Easter: they are supposed to be the same in different language, aren't they? 
By "Easter", do you mean the Romeo-Catholic Easter (Gregorian-based) as opposed to the Greek-orthodox Easter (Julian-based) ?
In such a case, how do you calculated the rest of the Easter-based holidays, such as the carnival, "Kathara Deftera", Thomas' sunday etc. ?

Last, but not least: is there a file that you have adapted and I could just copy  it in .kde4/share/apps/korganizer/   or so ?

Thanks.
Comment 3 Michael Grivas 2008-02-20 22:53:06 UTC
New tries: works fine with openSUSE with updated korganizer (3.5.9) in kontact (1.2.9) on updated KDE (3.5.9 "release 5.1.2").
However, now we do not see the Gregorian-based Romeo-catholic easter. Would that be easy to have them both (having quite some catholic people here and relations with other europeans)?
Also, would that be possible to have the original Julian calendar, i.e. different dates (for the "paleoimerologites") ?
Comment 4 Allen Winter 2008-08-13 02:49:52 UTC
is this still a bug?

The Greek holidays file is huge, and I don't read Greek, so I need you to tell me if something still needs to be changed.
Comment 5 Michael Leupold 2008-09-28 16:44:59 UTC
Has this issue been resolved?
Comment 6 Michael Grivas 2009-02-07 08:34:01 UTC
Pardon for the big delay.
Yes, this bug has been long fixed.
I tested in with both KDE4 and KDE 3.5.10 
on openSUSE 11.0 and 11.1 and Ubuntu 08.4 .

Thank you