Bug 457265 - Improvement: configuring the digital clock in the panel should be done in the same way as for "spectacle"
Summary: Improvement: configuring the digital clock in the panel should be done in the...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (show other bugs)
Version: 5.24.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-29 08:27 UTC by David Tonhofer
Modified: 2022-07-29 17:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Panel Digital Clock Settings vs clock settings available in "spectacle" (121.13 KB, image/png)
2022-07-29 08:27 UTC, David Tonhofer
Details

Note You need to log in before you can comment on or make changes to this bug.
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.