Bug 411522

Summary: Modified column on details view mode not show 2 digits on short date
Product: [Applications] dolphin Reporter: BugCoder <bugcoder>
Component: view-engine: details modeAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: meven29
Priority: NOR    
Version First Reported In: 19.08.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Details view mode not show 2 digits on modified column

Description BugCoder 2019-09-02 11:04:03 UTC
Created attachment 122454 [details]
Details view mode not show 2 digits on modified column

SUMMARY
with es_ES.UTF-8 locale selected, the modified column on details view mode not show 2 digits on date and month fields.

STEPS TO REPRODUCE
1. Choose spanish es_ES.UTF-8 locale
2. open dolphin
3. change to details view mode

OBSERVED RESULT

date format
1/1/2019

EXPECTED RESULT

date format
01/01/2019

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.3

ADDITIONAL INFORMATION
Comment 1 Christoph Feck 2019-09-29 23:54:27 UTC
If this depends on the selected locale, the formatting data comes from CLDR database in Qt.
Comment 2 Méven Car 2019-11-10 19:24:46 UTC
QLocale().toString(QDateTime::fromSecsSinceEpoch(time), QLocale::ShortFormat); is used to format modificationtime so QLocal and the formatting comes from Qt's CLDR database : http://cldr.unicode.org/
https://wiki.qt.io/Locale_Support_in_Qt_5

You can find CLDR data for es :
http://www.unicode.org/cldr/charts/28/summary/es.html

It specifies :
Time	Gregorian	Formats - Standard - Date Formats	short	M/d/yy 	d/M/yy

So this is expected behavior.