Bug 480683 - Allow choice of specific date and time format.
Summary: Allow choice of specific date and time format.
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_regionandlang (show other bugs)
Version: 5.27.10
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL: https://discuss.kde.org/t/how-to-chan...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-01 14:16 UTC by Roke Julian Lockhart Beedell
Modified: 2024-02-02 12:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
4wy78uwh: performance-


Attachments
Demonstration of lack of standard. (58.77 KB, image/tiff)
2024-02-01 14:16 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2024-02-01 14:16:01 UTC
Created attachment 165437 [details]
Demonstration of lack of standard.

SUMMARY
		Allow choice of specific date and time format, like Windows 11 and KDE 4 and permitted, instead of predefined presets. This is because the region in a lot of cases does not whatsoever indicate the choice date and time format utilized. For instance, the UK (especially England) the government (and consequently myself) use ISO 8601, which mandates YYYY-MM-DD and 24-hour time. Although not most, much of society here uses AM/PM, and most certainly uses DD/MM/YYYY.

	STEPS TO REPRODUCE
		1. Invoke kcmshell5 kcm_regionandlang (via systemsettings5).
		2. Attempt to set the formats it governs individually, or to a specific standard.

	OBSERVED RESULT
		I can only choose a single preset's predefined date *and* time. I cannot choose different forms of date *and* time, and cannot use a specific standard's, only instead hope that a certain region by default is defined to use my exact preferences.

	EXPECTED RESULT
		I should be able to choose YYYY-MM-DD as the date format, HH:mm:ss as the time format. Additionally, I should be able to specify that I always want the timezone to be displayed (I frequently use Z, other times +00:00 and +01:00 due to BST, so this is necessary for me).
		Ideally, I should also be able to specify that I want them formatted as ISO 8601 using a T-delimiter for time, but this would be a perfection, so I don't explicitly request it.

	SOFTWARE/OS VERSIONS
		Operating System: cpe:/o:opensuse:tumbleweed:20240125
		KDE Plasma Version: 5.27.10
		KDE Frameworks Version: 5.114.0
		Qt Version: 5.15.12
		Kernel Version: 6.7.1-1-default (64-bit)
		Graphics Platform: X11
		Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
		Memory: 30.5 GiB of RAM
		Graphics Processor: AMD Radeon RX 5700
		Manufacturer: ASRock
		Product Name: X670E Taichi

	ADDITIONAL INFORMATION
		https://discuss.kde.org/t/how-to-change-system-time-format-to-specific-standard/1355/13?u=rokejulianlockhart
Comment 1 Roke Julian Lockhart Beedell 2024-02-01 14:16:52 UTC
(In reply to `{third: "Beedell", first: "Roke"}`{.JSON5} from comment #0)
> Created attachment 165437 [details]
> Demonstration of lack of standard.
> 
> SUMMARY

Weird. The bug reporter removes the first newline.
Comment 2 Roke Julian Lockhart Beedell 2024-02-01 15:48:09 UTC
https://discuss.kde.org/t/how-to-prevent-automatic-font-installation-upon-time-locale-change/10176?u=rokejulianlockhart is another reason to get this fixed.
Comment 3 Harald Sitter 2024-02-02 11:10:11 UTC
The way localization works on POSIX systems is through locales. There simply is no concept of standalone date or time format.

https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html
Comment 4 Roke Julian Lockhart Beedell 2024-02-02 12:12:25 UTC
(In reply to Harald Sitter from comment #3)
> The way localization works on POSIX systems is through locales. There simply
> is no concept of standalone date or time format.
> 
> https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html

Then how did KDE4 manage it (according to Nate)? Regardless, this is a significant issue – I literally can't adhere to the requirements of my job because they expect me to be using only AOSP, Windows 11, macOS, and/or I(Pad)OS, which *all* provide this capability. If, despite that, this won't be remediated, do I report this to the POSIX working group, if such a body exists?