Bug 405534

Summary: Incorrect Finnish date format in KIO overwrite dialog
Product: [Frameworks and Libraries] frameworks-kio Reporter: Lasse Liehu <lasse.liehu>
Component: Overwrite dialogAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, kdelibs-bugs-null, tommi.nieminen
Priority: NOR    
Version First Reported In: 5.55.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example of an incorrectly formatted date that is referenced in description
Screenshot of Dolphin file overwrite dialog

Description Lasse Liehu 2019-03-16 17:02:51 UTC
Created attachment 118841 [details]
Example of an incorrectly formatted date that is referenced in description

SUMMARY

Finnish date format in KIO overwrite dialog has incorrect order of date components.

STEPS TO REPRODUCE
1. Use fi_FI locale and fi for UI translations.
2. Create a new file foo.
3. Create a new folder bar and a new file foo in it.
4. Copy or move foo inside bar to the outer folder.

OBSERVED RESULT

Overwrite dialog in Finnish has an incorrectly formatted date as part of string "Päiväys: %1" (translated version of the string "Date: %1"). Looking at the attachment, the date on the left is "la maalisk. 16 18:27:17 2019" (Mon March 16 18:27:17 2019, in this order)

EXPECTED RESULT

Expected the date to have the order (day of week, day of month, month, year, time). More specifically, expected it to be formatted using one of the predefined formats shown in Formats KCM (the long format "lauantaina 16. maaliskuuta 2019 2019 18.27.17 EET" or the short format "16.3.2019 18.27"), a similar predefined and localized format, or a format string localized in its UI translation.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1
Comment 1 Tommi Nieminen 2019-03-16 17:14:15 UTC
Created attachment 118842 [details]
Screenshot of Dolphin file overwrite dialog

Date formats do not follow the locale. “la maaliskuuta 16 19:09:19 2019” should preferably be “la 16.3.2019 19.09,19” (short form) or “lauantaina 16. maaliskuuta 2019 19.09,19” (long form).
Comment 2 Patrick Silva 2019-03-16 20:01:44 UTC

*** This bug has been marked as a duplicate of bug 405282 ***