[Bug 232928] Digital Clock Widget - Holiday Region Intermixes National & Religious Holidays

north at tinymagnet.com north at tinymagnet.com
Thu Apr 1 17:36:09 BST 2010


https://bugs.kde.org/show_bug.cgi?id=232928





--- Comment #2 from  <north tinymagnet com>  2010-04-01 18:35:57 ---
I would suggest that they be moved OUT of the US holiday file and into a
separate file containing Christian holidays. That way, software could simply
parse the files required. If you wanted US holidays -and- Jewish holidays for
example, program X could just read both of them. I don't see why the KHolidays
class can only draw from ONE data file. Why not several?

Specifying it in the file format becomes a non-issue at that point, you leave
the file format alone and simply move that subsection labeled "Easter related"
into another file holidays_christian or something.

The programming aspect of the "fix" in this case is to just allow KHolidays to
load multiple data files. If this functionality is already present, the issue
becomes a trivial matter of just moving the holidays into their respective
files.

Now... as for this file... from the comments it looks like i can just move it
into ~/.kholiday/ and it will override the system's version (meaning I could,
for example, remove easter and add Passover for my custom file). Is this
correct? While not a fix for the larger problem, this would certainly be a
short term convenience.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list