Option to remove AM/PM from clock in vertical panel (solution found)

We’re well into 2026 and apparently this is still a problem. I just tried KDE since I kept reading about how customizable it is. The first thing I do is move the taskbar to the left since I have an ultra-widescreen monitor. This made the time and date look really bad, and honestly this immediately made me less optimistic. If the most simple and fundamental visuals are handled poorly, what other surprises await? But surely it could be customized so I can just have the date as MM/YY and time as HH:SS, with the time as 12 hour without am/pm. As it turns out, the date format can be set as desired, but for some baffling reason the time format cannot.

I did some research and didn’t find a good solution. At that point I just reinstalled with Cinnamon. Having to struggle right away with (as seen here) an issue that has been unresolved for years is just not worth the effort. I might try KDE on a different computer where I don’t have an ultra-wide monitor, but it would be nice if the developers would make a simple change so the date and time formatting are handled in a consistent manner.

1 Like

i haven’t tried this but i do know that i can change the am/pm text in the .qml to be AM/PM or Am/Pm if i want it to appear a certain way.

that is all to say, one should also be able to define the text as "” or null so that it does not even appear when using the 12 hr format.

hacky, i know but that’s half the fun.

1 Like

This one is still an issue, but the path to the file no longer exists.

/usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml

It doesn’t appear to be a plasmoid any longer. I am searching for am/pm to try to find it.