Bug 457265

Summary: Improvement: configuring the digital clock in the panel should be done in the same way as for "spectacle"
Product: [Plasma] plasmashell Reporter: David Tonhofer <bughunt>
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate
Priority: NOR    
Version: 5.24.3   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Panel Digital Clock Settings vs clock settings available in "spectacle"

Description David Tonhofer 2022-07-29 08:27:11 UTC
Created attachment 150969 [details]
Panel Digital Clock Settings vs clock settings available in "spectacle"

Configuring the format of the digital clock in the panel is less than ideal:

You have to choose the "format" implicitly associated with a country.  But what is that format? What if you don't want that but prefer another system?

By contrast, in spectacle for example, the filename accepts a date-time format string (sadly, and very confusingly, the codes are not the same as the ones used by date(1), which should also be fixed 😞 )

Maybe one could foresee the possibility of having a date-time format string for the clock widget too; maybe it can be pulled out of regional settings at first, but then be freely editable.

See the configuration possibilities in the attached image
Comment 1 Nate Graham 2022-07-29 17:58:06 UTC
This is already implemented: go to Date Format > Custom and then you can make it use whatever date string you want.

The time string is not configurable this way because it would be too insane and impossible for us to control the layout in code regarding what goes where for all the different form factors the clock can take.