| Summary: |
Please, let date representation respect the format set by the Plasma Locale Time (LC_TIME environment variable) setting |
| Product: |
[Applications] dolphin
|
Reporter: |
Anton Latukha <anton.latukha+reg> |
| Component: |
view-engine: details mode | Assignee: |
Dolphin Bug Assignee <dolphin-bugs-null> |
| Status: |
RESOLVED
NOT A BUG
|
|
|
| Severity: |
normal
|
CC: |
dolphin-bugs-null, mpy, spamless.9v5xj
|
| Priority: |
NOR
|
|
|
| Version First Reported In: |
20.08.3 | |
|
| Target Milestone: |
--- | |
|
| Platform: |
unspecified | |
|
| OS: |
Linux | |
|
|
Latest Commit:
|
|
Version Fixed/Implemented In:
|
|
|
Sentry Crash Report:
|
|
| |
| Attachments: |
Settings -> Locale -> Detailed Settings
Dolphin date columns
|
Created attachment 133656 [details] Settings -> Locale -> Detailed Settings SUMMARY At least for "Created, Modified, Accessed" columns it seems to not respect the `LC_TIME` environment variable. For example, `LC_TIME=en_DK.UTF-8` is set, which corresponds to ISO 8601 date format ("YYYY-MM-DD"): ```shell # date [OPTION]... [+FORMAT] # %x locale's date representation date +%x 2020-11-26 ``` But date in the application gets represented as "DD/MM/YY". It does not make sense, since main locale setting set is `LANG=en_US.UTF-8`, so, if the application ignores `LC_TIME=en_DK.UTF-8`, it must use `LANG=en_US.UTF-8` (and the same `en_US` is in the Dolphin's "Settings -> Configure language". so US date must be "MM/DD/YY", but what gets shown is `DD/MM/YY`. Plasma Locale settings is in the attached screenshot. Shell results: ```shell locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC=uk_UA.UTF-8 LC_TIME=en_DK.UTF-8 LC_COLLATE="en_US.UTF-8" LC_MONETARY=uk_UA.UTF-8 LC_MESSAGES="en_US.UTF-8" LC_PAPER=uk_UA.UTF-8 LC_NAME=uk_UA.UTF-8 LC_ADDRESS=uk_UA.UTF-8 LC_TELEPHONE=uk_UA.UTF-8 LC_MEASUREMENT=uk_UA.UTF-8 LC_IDENTIFICATION=uk_UA.UTF-8 LC_ALL= localectl System Locale: LANG=en_US.UTF-8 LC_NUMERIC=uk_UA.UTF-8 LC_TIME=en_DK.UTF-8 LC_MONETARY=uk_UA.UTF-8 LC_PAPER=uk_UA.UTF-8 LC_NAME=uk_UA.UTF-8 LC_ADDRESS=uk_UA.UTF-8 LC_TELEPHONE=uk_UA.UTF-8 LC_MEASUREMENT=uk_UA.UTF-8 LC_IDENTIFICATION=uk_UA.UTF-8 VC Keymap: us X11 Layout: us X11 Model: pc105 ``` STEPS TO REPRODUCE 1. Reproduce the Locale settings form the "Settings -> Locale -> Detailed Settings" screenshot attached 2. Reload. 3. Run Dolphin. 4. Select "Details view mode" 5. Add columns "Modified" OR "Created" OR "Accessed" 6. Observe a date format. 7. Compare it to `date +%x` output. OBSERVED RESULT Format of date: "DD/MM/YY" EXPECTED RESULT Format of date: Short ISO date format (YYYY-MM-DD), or longer ISO format versions, preferably "YYYY-MM-DD HH:MM". SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 5.20.3 KDE Frameworks Version: 5.76.0 Qt Version: 5.15.1