Bug 497608 - Date format other than %m/%d/%y in configuration causes errors when changing date in transactions
Summary: Date format other than %m/%d/%y in configuration causes errors when changing ...
Status: RESOLVED NOT A BUG
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (show other bugs)
Version: 5.1.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-17 15:44 UTC by Alex W
Modified: 2024-12-17 15:52 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex W 2024-12-17 15:44:51 UTC
SUMMARY
When adding a transaction or editing one under "Ledgers," typing in the date will cause an error if the date format in "Online Quotes" for KMyMoney is different than %m/%d/%y

STEPS TO REPRODUCE
1. Change the date format to %d.%m.%y  or   %d/%m/%y
2. Add a new transaction to the ledger, or edit an existing one
3. Type in a number for the day, month, or year in the "Date" field

OBSERVED RESULT
The text turns red and you can no longer save the entry, even if you enter a correct date (either d/m/y or m/d/y). This happens also if you use the date picker on the right.

However, if the date in the OS is some day in December (or the current month; unsure) greater than 12, changing the date to 12/n/24 where n is between 13 and 31 is permitted and the entry can be saved.

EXPECTED RESULT
The text does not turn red and you can save the entry if you input a correct date.
Ideally you should be able to enter the date in the date format specified in the settings (but it'd be good enough if a legal m/d/y date worked)

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora Linux 40
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
This is not because of the date during which the account was opened. The account in question where the transactions were being edited had a much earlier opening date