Re: Dolphin, how to let it show locale time format

Marco Möller <[email protected]> Tue, 15 Apr 2025 18:24:19 +0200
Newsgroups gmane.linux.debian.user.kde
Message-ID <[email protected]>
On 4/15/25 17:34, Marco Möller wrote:
> Dolphin seems to not respect the time format display as configured in 
> Region & Language - Time.
> 
> This appears to be a bug in KDE Plasma 6 as delivered with Trixie.
> If it can be configured in the Region & Language settings, then it is to 
> be expected that at least all apps coming delivered by the KDE project 
> respect this setting. What else should this configuration setting be 
> useful for?!
> 
> Do you know a workaround to get Dolphin using the wished format for Date 
> and Time displays? While I have the language set to en_US, I need the 
> time displayed in ISO format or a locale format!
> 

The currently applied settings, settings which are actually in use 
despite any KDE System Settings configurations, are shown by this 
command at the CLI prompt:
$ locale

Watch out for any value set to LC_ALL,  "LC_ALL=C" for instance.
If LC_ALL is set to a value, then this implies strictly overruling any 
other LC configurations with this value!
Specific settings like, for instance, "LC_TIME=de_DE.UTF-8" exported 
elsewhere, or configured in the KDE System Settings, are overruled with 
a value set to LC_ALL !

$ export LC_TIME=de_DE.UTF-8
$ sudo update-locale LC_TIME=de_DE.UTF-8
Neither of the two commands would show any effect as long as LC_ALL is 
set to a value. The same applies for the Regional & Language settings of 
KDE System Settings dialogs, they cannot be applied.

To unset LC_ALL use the following command:
$ sudo update-locale LC_ALL=
Dolphin now shows the wished display format for the columns showing times.
There might me apps complaining about this value not being set, though. 
Those apps could always be started by explicitly setting for them a 
LC_ALL value in front of the app starting command, then.


It would have saved me a lot of headaches and time, if KDE System 
Settings would have shown a warning message about the settings not 
becoming applicable as long as LC_ALL is set to a value. It could have 
checked for such value to exist, and then warn and explain and describe 
possible steps, which the user then could consider to go for.