[kmymoney] [Bug 455596] New: Broken date format
Ceaus
bugzilla_noreply at kde.org
Sun Jun 19 10:51:07 BST 2022
https://bugs.kde.org/show_bug.cgi?id=455596
Bug ID: 455596
Summary: Broken date format
Product: kmymoney
Version: 5.1.2
Platform: Other
URL: https://mail.kde.org/pipermail/kmymoney/2020-August/00
3527.html
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: ux-ui
Assignee: kmymoney-devel at kde.org
Reporter: kde at pohw.nl
Target Milestone: ---
SUMMARY
It is not possible to use YYYY if your locale doesn't support it.
As discussed here
(https://mail.kde.org/pipermail/kmymoney/2020-August/003527.html), KMyMoney
should provide a default, unambiguous date format. Currently the displayed
date format is based on the QT environment settings. There are a number of
problems with this:
1. Your locale may set a format as MM-DD-YY. Which leads to the well know date
ambiguity.
2. With a two digit year it's impossible to enter date earlier than 1990.
3. If your locale displays DD-MM-YY, but you really want DD-MM-YYYY, than your
only option is to change the LC_TIME environment variable to something which
uses this short ISO-8601 YYYY format. But this also changes the date picker.
So now you can't read the days and months anymore, because they are in a
language you don't speak.
Ideally, for financial applications there should not be a dependency on the
locale of the system it is running on. There should be a short list of formats
you can choose from (example: DD-MM-YY, DD-MM-YYYY, MM-DD-YY, MM-DD-YYYY) which
are documented and consistent regardless of environment.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list