| Summary: | allow a syntax to say that a holiday occurs on a weekday | ||
|---|---|---|---|
| Product: | [Applications] korganizer | Reporter: | Cp Hennessy <cp.hennessy> |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | djarvie, jlayt |
| Priority: | NOR | ||
| Version First Reported In: | 3.1pre | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Cp Hennessy
2003-09-21 19:00:57 UTC
The same seems to be the case for UK holidays (English & Welsh holidays file). *** Bug 65865 has been marked as a duplicate of this bug. *** SVN commit 549721 by kainhofe:
The holiday library now also supports
-) Multiple holidays on the same date (e.g. start of summer time and easter
on the same day, etc.)
-) conditional shifting of holidays (e.g. if a holiday occurs on a saturday
or sunday, it is actually celebrated on the following monday). Example:
small "May holiday" weekend on 1.5. shift to monday if saturday || sunday
The holiday data files still need to be adapted wherever such a system
applies (UK, Wales, Ireland are known from bug reports, but I don't
know which holidays are really affected).
It's incredible, how simple it is to hack these lex/yacc parsers (which had the fame that nobody in kde would understand them), once you take the ten minutes to print out a yacc tutorial and the 45 minutes to look at the code (and then the ~2 hours to fix the inadvertant bugs in the C code that come through the ancient pointer-increasing in C to walk through a list, when you are used to Qt-style list iterators ;-) )
CCBUG:64673
CCBUG:92474
M +1 -1 Makefile.am
M +33 -11 kholidays.cpp
M +12 -4 kholidays.h
M +162 -106 parseholiday.y
M +3 -0 scanholiday.lex
Reassigning all KOrganizer bug reports and wishes to the newly created korganizer-devel mailing list. I'd say it's safe to close this bug, it's been fixed for 3.5 years now, and the data files have long been updated! |