Is it possible to change the date & time format just like Windows?

Don’t ask me why I have this demand.
For instance, I could set the date format to 'Year:'yyyy 'Month:'M 'Date:'d, so if “today” is March 8 year 2025, it would be displayed as Year:2025 Month:3 Date:8.
But seems like there is nothing giving me chance of customizing this in System Settings.

You can set custom format in digital clock (which is on the taskbar, bottom right corner).

Rt. click on the clock → Configure digital clock

And here is the setting you’re looking for:
Select “Custom” from drop down and set your format.

2 Likes

Exactly. Dunno what clock you’re using but most, if not all, have a custom setting.

And colored if you like:

For whatever reason, the “M” comes true as “3”. But you get the point.

You want to enclose those non-date parts in quotes like 'Month: 'M

image

Only happens with M. And only happens with the default clock and the better inline one. But yeah, enclosing it works.

It happens with any of the letters if they are recognised by the formatter and not enclosed by quotes:

image

No they don’t. At least, not on my rig. M seems to be the only one. Year and Day are no prob. Aaaanywhooo…for the OP, there’s a custom setting.

It is case sensitive

Wouldn’t worry about it man. I’ve encountered that…anomaly years ago when I tried some on tint panels ( or fb…can’t remember). Anywho…here’s what I mean.

Here’s, for example, Year outside the color enclosure. No prob.

Same goes for Day btw.

Here’s Month within the color enclosure:

And here’s what happens when you put it outside ( so, the same as with Year and Day):

Maybe it’s a keyboard thing ( azerty), a local or some buggie in the date format…dunno. But it is a fact. Again, no worries. If you put in within the enclosures, you’re good to go.

I’m not worried about it. It’s not an anomaly, it’s working as intended and described.

It is case sensitive:

D = nothing, so just D
d = day
Y = nothing, so just Y
y = year
M = month
m = minute

that’s only for the date tho… not the time.

the time parameters are ignored.

I’m working on that at the moment (also localisation). It was actually fairly quick to do the code, I’m just working out the details of submitting it to KDE. Shouldn’t be far away.

This just changes the Digital Clock, the date & time format used by Dolphin, etc. is not affected.

A link to the page (something like commit)?

For system wide change you need to adjust locale settings in:
Settings → Regional settings → Time

And here choose a country with desired format.
There is no customization beyond choosing a country.

1 Like