Bug 380017

Summary: Can't change DateTime format in modified column
Product: [Applications] krusader Reporter: Esteban Adrián Pérez <dgeaperez>
Component: generalAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: alex.bikadorov, dgeaperez, krusader-bugs-null
Priority: NOR    
Version First Reported In: 2.6.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Esteban Adrián Pérez 2017-05-19 17:09:33 UTC
Hi!...

I searched in Google before bored you with this, but I can't found a solution...

I tried the Locale section in ~/.config/krusaderrc file without success...

All my system show the date with 2 digits for day and month and the year (context depending) with 2 or 4 digits; and the time with 2 digits for hour and minutes in 24 hours format (without AM/PM)

But krusader seems ignore it completely: shows the dates without precedent 0 (for 2 digits day or month from 1 to 9) and the time in 12 hours format...

Is it another information you need to help you to fix it?

Thanks in advance...

E.
Comment 1 Alex Bikadorov 2017-05-19 18:10:36 UTC
QLocale with QLocale::ShortFormat is used for the datetime format. Only the language can be set here, not the exact format.

What about other Qt applications (e.g. Dolphin)? The time format should be the same there.
Comment 2 Esteban Adrián Pérez 2017-05-19 20:08:21 UTC
(In reply to Alex Bikadorov from comment #1)
> QLocale with QLocale::ShortFormat is used for the datetime format. Only the
> language can be set here, not the exact format.
> 
> What about other Qt applications (e.g. Dolphin)? The time format should be
> the same there.

Oh! Alex... You are right... :( In Dolphin happens the same...

So, here I'm fighting with 2 probmes: my ignorance about the ¿KDE configuration? and the datetime format I expected, I guess...

When I refer to "all my system", I talk about terminal (MC, ll, and others) and never think about this can be realted to KDE configuration...

I'm sorry... I'll search again in google how to "set up" this...

My appologies...
Comment 3 Alex Bikadorov 2017-05-21 16:44:58 UTC
AFAIK this has more to do with Qt and not KDE settings. And Qt seems to be a bit limited. As I said you can only change the local settings (LC_* variables) to find a format that suits you.
Comment 4 Esteban Adrián Pérez 2017-05-22 14:26:32 UTC
(In reply to Alex Bikadorov from comment #3)
> AFAIK this has more to do with Qt and not KDE settings. And Qt seems to be a
> bit limited. As I said you can only change the local settings (LC_*
> variables) to find a format that suits you.

Thank you, and my appologies again...

Regards...

E.