This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Where does KDE get the holidays (in KOrganizer) from?

Tags: None
(comma "," separated)
enda
Registered Member
Posts
50
Karma
0
Where does KDE get the holidays (that I see in KOrganizer) from?
User avatar
google01103
Manager
Posts
6668
Karma
25
look in /usr/share/kde4/apps/libkholidays/plan2/


OpenSuse Leap 42.1 x64, Plasma 5.x

enda
Registered Member
Posts
50
Karma
0
Thanks, it is in /usr/share/kde4/apps/libkholidays/plan2/, but in those files, when describing when a particular holiday is, it says easter, which refers to Easter, how does KDE calculate when Easter is?
User avatar
google01103
Manager
Posts
6668
Karma
25
I'm gonna guess in /usr/lib64/libkholidays.so.4.x.x see http://api.kde.org/4.1-api/kdepim-apido ... index.html


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I have taken a quick look at the source code, and easter is special cased. Easter is apparently special cased due to the complex rules surrounding it.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]