[kmymoney] [Bug 397245] Cannot set date format properly in KMyMoney 5
Thomas Baumgart
bugzilla_noreply at kde.org
Sat Dec 5 10:30:40 GMT 2020
https://bugs.kde.org/show_bug.cgi?id=397245
Thomas Baumgart <tbaumgart at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |UPSTREAM
Status|REPORTED |RESOLVED
--- Comment #1 from Thomas Baumgart <tbaumgart at kde.org> ---
Using LC_TIME=en_CA.utf8 gets what you want. Apparently, there is a difference
in the display between the base system and what Qt provides. en_DK.utf8 is one
example.
I have de_DE.utf8 as my default locale for time. The following table show what
is going on. I start the programs either without providing a specific locale
(default) or with specifically setting the LC_TIME variable in the environment
starting the program.
LC_TIME date +%x KMyMoney
--------------------------------------
default 05.12.2020 05.12.20
en_DK.utf8 2020-12-05 05/12/2020
en_CA.utf8 2020-12-05 2020-12-05
So setting the LC_TIME variable has an effect, but there is a difference in the
result. Since KMyMoney uses standard Qt functions to do the conversion I see
this more of an upstream problem/feature.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list