Summary: | 21st June 2019 shows as non-processing day when holiday calendar is configured | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Ian Neal <iann_bugzilla> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | jlayt, ostroffjh |
Priority: | NOR | ||
Version: | git (master) | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kmymoney/02e5037185496d070bc1ebbcdc3034f9a1cded77 | Version Fixed In: | 5.0.5 |
Sentry Crash Report: |
Description
Ian Neal
2019-05-21 14:42:39 UTC
I believe 21 June is Solstice Day in Canada (and elsewhere.) However, I agree there is something funny going on with KDE holiday calendars. I added Canada to my US holidays by configuring the digital clock on the panel, and it shows up there, but even separately adding Canada holidays to korganizer, I don't see them there. Unfortunately, I have no idea where to post this, but I strongly suspect it's not a KMM specific issue. I added John to the CC list. Maybe he has an idea of what might be going on here or where to look for more details. Git commit 02e5037185496d070bc1ebbcdc3034f9a1cded77 by Thomas Baumgart. Committed on 25/06/2019 at 19:15. Pushed by tbaumgart into branch '5.0'. Treat special days as processing days if they are workdays The holiday list contains entries that shows special events that are working days. Nevertheless, KMyMoney treated them as non processing days. This change makes sure to treat those entries as processing days. FIXED-IN: 5.0.5 M +9 -8 kmymoney/kmymoney.cpp https://commits.kde.org/kmymoney/02e5037185496d070bc1ebbcdc3034f9a1cded77 Yes there are "special days" which are NOT holidays and so still processing days. However, is it certain there are no such days which really are holidays during the week? There are certainly holidays which fall on weekdays. For special days which are weekdays - how can we tell if they are true non-processing holidays, or just special events which are not holidays? We rely on the KHolidays package at this point. The data for the various regions can be found at https://cgit.kde.org/kholidays.git/tree/holidays/plan2. Within this data 'The "public" category caries the extra meaning of being a day off.' (seen in https://cgit.kde.org/kholidays.git/tree/holidays/file-format.txt) |