Seems kmymoney only accepts one date format on 5.1 [kmymoney-master-3536-windows-cl-msvc2019-x86_64.exe] that was released on 26 sep 2024. so for example my standard windows 11 date format is dd-mmm-yyyy (e.g. 29 sep 24) when i open kmymoney with this date format i get error on the ledger when trying to fill in… the date box is actually red. but when i change date format of the system to mm/dd/year - there is no problem
i want to maintain my date format of dd-mmm-yyyy (e.g. 29 sep 24) - because most of my other applications including word and excel use this format
Please clarify some inconsistencies. Are you using 5.1 or master. You say 5.1 but the file you mention is master, although mentioning the red box around the date confirms master.
You say “date format is dd-mmm-yyyy (e.g. 29 sep 24)” but that example is “dd mmm yy” (not yyyy.) The red border around the date box is because either the required date is missing or something entered is not a valid date. In your last sentence you again repeat “date format of dd-mmm-yyyy (e.g. 29 sep 24)” but you again mix 2 and 4 digit years.
I would assume most if not all applications will use the system specified date format. That should be what KMyMoney is doing.
Finally, please state in more detail exactly what you are doing to get the red box around the date. I assume you are trying to enter a new transaction, but exact details will help us figure out exactly where the problem is.
Many thanks for your reply
- i am using the ’ development version’ from the download page
- the stable version is ok. but i have used kmymoney development files for 3 years now and i have never had this particular problem. so it’s strange and new
- to summarize and clarify what i am having - the development version on that page, as of this date does not allow me to enter a date with the date format 30-sep-2024. when i try to enter a date on any transaction i get an error " the date you entered is invalid" - if however i change the date format on my windows 11 to be say 09/30/2024 or even 2024-09-30 i have no problem. It appears when the date format includes a word say sep, Aug or something like that it returns and error. which is strange because the previous version i have been using (which is the stable version on the same download does not have this problem. i can use 30-sep-2024 on the stable version for transactions no problem.
So your problem is not 2 vs 4 digit years, but numeric vs name for the month, correct? As far as I know, KMyMoney uses the date format as specified by the operating system. I don’t currently have a Windows installation handy to test, so I’ll ask more questions.
If set to use month name, and you go to the register and edit an existing transaction, what does the date look like? If you edit an existing transaction with a month name in the date, does the date show an error as soon as you edit the transaction? If so, then perhaps KMyMoney is not correctly interpreting the date format. If not, then does it show an error as soon as you try to edit the date?
Another test - if you create a new transaction, click the down arrow at the right of the date field, and pick a date by clicking on the calendar, how is it displayed then, and does it show any error?
Yes, i want the kmymoney to be able to accept 01-oct-24 date format. the master version right now does not. i have tried this on two separate windows computers so it’s definitely a kmymoney bug
When you change the date format of the windows 11 it changes the date format even for past transactions in kmymoney.
when you pick a date from the date picker box, it does pick a date, but it remains red - and you cant save the transaction - throws an error when you try to save - date as invalid
this is a bug in kmymoney
The issue of date formats is still a problem for the new master download as of 6th October 2024 ( kmymoney-master-3552-windows-cl-msvc2019-x86_64.exe)…
i like seeing when i spend money or receive income (day (numeric), day word and ofcourse the year - the format i prefer and use on my windows 11 is dd, ddd-mmm-yyyy (for example 06, Sun-Oct-2024) - i find it easier to track my expenses and incomes this way
if i change my date format of windows 11 to read “dd, ddd-mmm-yyyy” say “06, sun-Oct-2024” - the new version of kmymoney does not even open.
On the old Stable version of kmymoney (the stable version kmymoney-5.1-3218-windows-cl-msvc2019-x86_64.exe) i do not have this problem. it opens even with my preferred date format of dd, ddd-mmm-yyyy (for example 06, Sun-Oct-2024)
First of all: your finding is correct, alpha characters in date input are not supported by the current KMyMoney development version. No need to repeat and stress that: we got it.
Rationale: the date input widget has been replaced between the 5.1 stable branch version (based on QDateTimeEdit) and the master development version (based on KDateComboBox) mainly for two reasons:
- reduce code complexity
- add new features.
It showed, that KDateComboBox provides almost the same functionality we built ourselves in older versions of KMyMoney. Using a well maintained code base (i.e. KDE frameworks) is much better than re-inventing the wheel and having to maintain it on the project level. Unfortunately, some specific functionality got lost during that move which we were not aware of. The other benefit of using standardized components is that if new functionality becomes available we get them basically for free. Means: the best place to ask to support your date format is to ask the developers of the KDateComboBox to support it, because I doubt that the KMyMoney team will revert back to the old implementation.