KDE Plasma - Digital clock - Mulitple lines for date?

I like mulitple lines in the time/date widget.
I can get 2 lines: 1 for time, and 1 for date.
Is thers a syntax code I can use to make a line break in the date, so that it itself has multiple lines (2 in this case, for a total of 3 with the time also above them)?

The current syntax is:
ddd, MMM d (yyyy-M-d)
but I want the paratheses info on a separate line below instead.

add spaces and it should wrap.

ddd, MMM d (yyyy-M-d)

but it wraps based on the length of your time text (which is really long in your case), so you may need to add a lot of spaces.

Did not work. I added a LOT of space. It just kept stretching out and out until jamming everything up in the rest of the taskbar.
You tested that on your own Plasma and it worked?

i’m on plasma 5 and yes.

sounds like another regression, or at least an unintended consequence of “fixing” things that ppl thought were broken.

what happens if you put the clock into a vertical panel of limited width, does it wrap then?

IDK. I don’t really want to mess with the existing panel, or set up a new (vertical) one that I don’t intend to use anyway. I just want to know if there is a syntax command that will create a line-break in the date code now.

if spaces or size changes don’t trigger formatting changes, then no… it doesn’t parse anything but the date codes.

i would try some more compact time display options and play with the font sizes… you can try this on another instance of the clock so you don’t have to affect your current one, they are all independent of each other.

If this is true that there is not line break feature now, then it should be updated to include one at some point. IMO obviously. I cant imagine im the only person who would want multiple additional lines displayed. Thx.

it used to provide this feature (indirectly) via automatic formatting of the text to fit within the widget based on the size and font selected as well as the custom format entered.

if the .qml has changed so that it no longer does the auto formatting then, yes it should have provided a feature(s) to enable some of the same behavior.

but it would appear from your case that this was ignored and it no longer does anything.

i would file a bug reports at bugs.kde.org about the lack of formatting first and then separately, file a “wishlist” item to add the ability to manually split lines on the date format.

1 Like

My taking these actions to file this somewhere are now currently numbers 99999998 and 99999999 on my to-do list.

i tried this on distrosea.com and it turns out that plasma 6 clock still does the line breaks if the clock widget is in a vertical panel.

i don’t think it ever did line breaks when the widget is in a horz panel…. it just keeps making the widget longer.

if you insist on a horizontal panel, then make a separate panel just for clock and size it so that it triggers the line breaks where you want them as i described above.

1 Like

Hey I forgot about distrosea. Been awhile. i just use Ventoy to have a 128GB USB drive with a ton of different distros on it, and try the real things.

Thanks for the idea. Might end up working. KDE should just expand the capability, but so be it. #10,000 in a list of 100,000