Bug 411522 - Modified column on details view mode not show 2 digits on short date
Summary: Modified column on details view mode not show 2 digits on short date
Status: RESOLVED NOT A BUG
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: details mode (show other bugs)
Version: 19.08.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-02 11:04 UTC by BugCoder
Modified: 2019-11-10 19:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Details view mode not show 2 digits on modified column (15.36 KB, image/jpeg)
2019-09-02 11:04 UTC, BugCoder
Details

Note You need to log in before you can comment on or make changes to this bug.
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.