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

--- Comment #7 from Roman S. <romanu...@gmail.com> ---
I have briefly looked at the libkholidays source - if I'm not mistaken (sorry,
I'm not familiar with KDE development), this is already supported - one can use
KHoliday::dayType() to get Workday or NoWorkday enum value. It seems to me that
all the 'public' type holidays are reported as NoWorkday, all the others - as
Workday. At least this is what the author intended (I didn't test whether it
works correctly).

Are you 100% sure that the problem is within the libkholidays?

Nevertheless, I have started working on the holiday_pl_pl file (current version
in the attachment). Seems to be more work I expected - changes done so far by
me:

- [most important, this HAS TO BE MAINLINED!!!] 6th of January is now a public
holiday, since 2011 (see
https://en.wikipedia.org/wiki/Epiphany_(holiday)#Poland)
- 'Śledzik' is not really a religious holiday, this is just the last day of
carnival (see https://en.wikipedia.org/wiki/Carnival#Poland), there are no
special religious celebrations at this day in Poland
- moved Valentine's Day ('Walentynki') to civil holidays; I'm not really sure
what is the different between 'civil' and 'cultural' holidays, but it seems no
sense to have just the Valentine's Day in cultural and nothing else there
- 'Zaduszki' (full name: 'Dzień Zaduszny') is definitely a religious holiday
(see https://en.wikipedia.org/wiki/All_Souls%27_Day,
https://pl.wikipedia.org/wiki/Zaduszki)
- 'Wigilia' is also a religious holiday (see
https://en.wikipedia.org/wiki/Christmas_Eve,
https://pl.wikipedia.org/wiki/Wigilia_Bo%C5%BCego_Narodzenia)
- 'Wniebowzięcie NMP' ('Assumption of the Blessed Virgin Mary') is a bit
complicated; this is both Army Day and Assumption of the Blessed Virgin Mary
(see https://en.wikipedia.org/wiki/Public_holidays_in_Poland). Since in the
polish law act the Assumption is mentioned, it is now a 'public religious', and
the Army Day ('Dzień Wojska Polskiego') was added as a civil one
- 'Lany Poniedziałek' ('Wet Monday') is a (still live) slavic-pagan tradition;
since it is not mentioned in the polish law act, I have moved it to civil (this
day is a holiday, because it is also a second day of Easter). I am not 100%
sure about this change, any help would be welcome
- 'Dzień Programisty' (Programmers Day) added as a civil holiday; I couldn't
resist :)
- added 'Tłusty Czwartek' (Fat Thursday -
https://en.wikipedia.org/wiki/Fat_Thursday#Poland); since there are no special
religious celebrations this day, I have marked it as civil
- added 'Dzień Górnika' (Miners Day -
https://pl.wikipedia.org/wiki/Barb%C3%B3rka) - there are traditional
celebration held in mining areas of Poland
- added 'Dzień Edukacji Narodowej' (Teacher's Day -
https://en.wikipedia.org/wiki/Teachers%27_Day), it is celebrated in every
school
- renamed 'Św' Mikołaj' to 'Mikołajki', as this is more common name - see
https://pl.wikipedia.org/wiki/Miko%C5%82ajki_(zwyczaj)
- polish 'Andrzejki' is a night 29/30 November (again, slavic-pagan tradition -
https://pl.wikipedia.org/wiki/Andrzejki), not really the same as 'St. Andrew's
Day'; moved to 29th November, as 30th November is already after the feast
- daylight saving time added (same time is in the whole European Union) - 'Czas
letni', 'Czas zimowy'
- added equinoxes and solstices

For general information about polish holidays (especially the ones we do not
work in Poland), see:

- see https://en.wikipedia.org/wiki/Public_holidays_in_Poland
- relevant polish law act:
http://isap.sejm.gov.pl/DetailsServlet?id=WDU20150000090

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to