Bug 479477 - Can't change time format, without changing locale
Summary: Can't change time format, without changing locale
Status: RESOLVED DUPLICATE of bug 340982
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_regionandlang (show other bugs)
Version: 5.27.10
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-06 19:26 UTC by pingger_kdesucks
Modified: 2024-02-15 22:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pingger_kdesucks 2024-01-06 19:26:53 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Regional Settings
2. See that the "Formats" Settings are missing entirely
3. Go instead to Region & Language
4. "Modify" "Time", see that no locale actually has the date Format, that is required with no setting to set the correct format
5. apply any other date format just for the fun of it
6. restart system
7. observe that no change to the date format has occured anywhere

OBSERVED RESULT
multiple settings went missing. Existing settings don't work

EXPECTED RESULT
settings to stay where there should be and work as expected

SOFTWARE/OS VERSIONS
Windows: no
macOS: no
Linux/KDE Plasma: Manjaro 23.1.1/see above 
(available in About System)
KDE Plasma Version: SEE ABOVE! 5.27.10 (how this not autofilled, when clicking the report bug button in the software?!)
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Wiki is also still showing the settings I am looking for, that appear to be missing!
Similar to issues 272211, and probably 478120
Comment 1 hanyoung 2024-01-07 06:08:39 UTC
Can you paste the contents of `~/.config/plasma-localerc`?
Comment 2 pingger_kdesucks 2024-01-07 17:50:07 UTC
`~/.config/plasma-localerc`:
```ini
[Formats]
LANG=C
LC_ADDRESS=C
LC_MEASUREMENT=C
LC_MONETARY=en_DE.UTF-8
LC_NAME=C
LC_NUMERIC=en_DE.UTF-8
LC_PAPER=C
LC_TELEPHONE=en_DE.UTF-8

[Translations]
LANGUAGE=C:en_US

```

Just to be clear, the DateFormat I want is ISO 8601, aka YYYY-MM-DD'T'HH:mm:ss+zzzz (where the timezone is optional if UTC+0, but the 'T' is not, and this being the short form. the long form would include milliseconds)

I know, that this setting was possible in the past, but has now disappeared from the UI, in addition to the UI not changing anything (except apparently this non-standard file, that has no association with the actual system settings in `/etc/locale.conf` or in `~/.profile` (or at the very least in `~/.config/environment.d/`) where it would actually belong!)
`/etc/locale.conf`:
```bash
LANG=C.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
```
Comment 3 Nate Graham 2024-02-15 22:47:25 UTC

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