| Summary: | Add option to remove PM and AM from digital clock widget | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Sauf <hsaom> |
| Component: | Digital Clock widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | wishlist | CC: | john.donahue, kde, kdedev, nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.4.2 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Sauf
2025-07-17 13:54:57 UTC
You can. See setting "Time Display" (In reply to David Edmundson from comment #1) > You can. > > See setting "Time Display" Thanks for reply. you can't do in 12-hour mode. in prior example observed result is either 22:09 or 10:09 PM. Confirmed that with 12H time format, it's not possible to hide AM/PM without changing the regional settings. It would be more convenient for this use case to have a toggle in the Digital Clock settings. I'm using Lubuntu(LXQT), but maybe the same solution can be applied here? If the Supported HTML Subset: https://doc.qt.io/qt-6/richtext-html-subset.html is allowed as part of the formatting, the tags can be used in an unintended way, to hide the expression results. For example I use the string <'h2' a>h:mm -- where the header tag merely boldens/enlarges the font. Other elements could be used as well. The attribute a, is recognized as the am/pm trigger and successfully adjusts the hour value, but ignores the am/pm display since it's a meaningless attribute. |