Bug 509905

Summary: Customize time format
Product: [Plasma] plasmashell Reporter: Prabhat Kumar <letmein261>
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: nate
Priority: NOR    
Version First Reported In: 6.4.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Prabhat Kumar 2025-09-25 02:53:05 UTC
SUMMARY
Request for the ability to customize time font and format separately.

OBSERVED RESULT
No option to customize time font individually.
No option to change time format.

EXPECTED RESULT
Option to customize time font (independent of date font).
Option to customize time format as per Time format documentation (https://doc.qt.io/qt-6/qml-qtqml-qt.html#formatDateTime-method)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux / KDE Plasma 6
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION
Graphics Platform: Wayland
Motivation: Allows users to improve readability (e.g., larger fonts), match desktop aesthetics, or use localized/custom time formats.
Comment 1 Nate Graham 2025-09-25 15:18:34 UTC
If we offered this feature, how would you use it? Can you outline the specific desire that prompted opening this Bugzilla ticket?
Comment 2 Prabhat Kumar 2025-09-26 02:28:52 UTC
(In reply to Nate Graham from comment #1)
> If we offered this feature, how would you use it? Can you outline the
I’d like to set the time to use a different font than the date in the Digital Clock widget, so they’re visually distinct.
> specific desire that prompted opening this Bugzilla ticket?
I’d also like to configure the clock format myself. Right now it seems to use `h:mm:ss` (single-digit hour without a leading zero), but I prefer a stricter `hh:mm:ss` format with the leading zero.

This would help with both readability (time standing out clearly from the date) and aesthetic customization (keeping the look consistent with how I prefer my clock).
Comment 3 Nate Graham 2025-09-26 16:04:11 UTC
You might be a good candidate for choosing a different time style in System Settings > Region & Language > Time > Choose > [pick a format that uses hh:mm:ss]. An example is the "C" time format.

Does that satisfy the need?
Comment 4 Prabhat Kumar 2025-09-29 01:28:34 UTC
(In reply to Nate Graham from comment #3)
> You might be a good candidate for choosing a different time style in System
> Settings > Region & Language > Time > Choose > [pick a format that uses
> hh:mm:ss]. An example is the "C" time format.
> 
> Does that satisfy the need?

Thanks, Nate. Yes, picking a different format under System Settings > Region & Language > Time (like the "C" format) does solve the hh:mm:ss issue.