Bug 460009 - kmymoney does not contain holiday dates
Summary: kmymoney does not contain holiday dates
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: packaging (show other bugs)
Version: 5.1.3
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks: 426400
  Show dependency treegraph
 
Reported: 2022-10-05 12:25 UTC by Ralf Habacker
Modified: 2022-10-06 08:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.1.4
Sentry Crash Report:


Attachments
testfile.kmy (6.70 KB, application/x-kmymoney)
2022-10-05 12:28 UTC, Ralf Habacker
Details
screenshot with holiday settings (31.12 KB, image/png)
2022-10-05 12:37 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2022-10-05 12:25:30 UTC
Phil Richardson reported this bug at https://mail.kde.org/pipermail/kmymoney/2022-September/003991.html

> It doesn't contain any holiday data, so my schedules simply work Monday
> to Friday and can't follow the "move to next working day rule".

STEPS TO REPRODUCE
1. Download portable binary for KMyMoney on Windows from https://download.kde.org/stable/kmymoney/5.1.3/
2. unpack 7z file and run start.bat
3. open the appended file (testfile.kmy)
4. in the left view open "Scheduled transactions"

OBSERVED RESULT
In Germany, October 3 is a public holiday. If the week-end option is MoveAfter, the "next due date" should be October 4, which is not the case. KMyMoney selects October 3. Furthermore, December 26th is a holiday, so if December 25th is selected, the 27th should be displayed, which is not the case, the 26th is displayed.

EXPECTED RESULT
In the cases described, October 4 and December 27 would have to be displayed, respectively. 

SOFTWARE/OS VERSIONS
Windows: 10
KDE Frameworks Version:  5.76.0
Qt Version: 5.12.12
Comment 1 Ralf Habacker 2022-10-05 12:28:40 UTC
Created attachment 152598 [details]
testfile.kmy
Comment 2 Ralf Habacker 2022-10-05 12:37:00 UTC
Created attachment 152599 [details]
screenshot with holiday settings

On the "scheduled transactions" settings page, there is a field for selecting the holiday calendar that does not contain an entry. The indicates that a required component (kholidays) has not been installed.
Comment 3 Ralf Habacker 2022-10-06 08:29:27 UTC
(In reply to Ralf Habacker from comment #2)
>  This indicates that a required component (kholidays) has not been installed.

Fixed by adding this component for building kmymoney.