Summary: | Request for additional date format - no year! | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | allan <agander93> |
Component: | importer | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | REPORTED --- | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | 4.8.0 | ||
Target Milestone: | --- | ||
Platform: | Mint (Ubuntu based) | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
allan
2016-10-18 18:36:03 UTC
Is this really something we want KMM to handle, or should this be handled by one of the KDE Frameworks we rely on, in which case this bug could be UPSTREAM? AFAICT there is no KDE framework involved here. It is the CSV importer which provides a QDate object in the end and that *must* contain a year. So it is the task of the CSV importer to provide it. In a similar scenario I used the following logic in case the year information was missing: - Use currentYear as the value for statementDate - If currentMonth < statementMonth decrement year Anything else must be handled externally before the import. |