Lock Screen Clock/Date Settings

When my system goes into the lock screen, my clock and date settings are not the same as the computer. (24-hour vs 12-hour, different date format, etc.).

How does one change that? If it’s not possible, how does one prevent it from showing on the lock screen?

My system info if needed:

Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.12-200.fc37.x86_64 (64-bit)
Graphics Platform: X11
1 Like

Welcome to the Fedoraproject @j-new

It depends on the login manager and the screensaver.
I found this here and hope it helps you to figure out where to set it up:

Thanks, but that’s a bit dated. A search of Fedora 37 had no results for InfoPane.qml.

I checked on my installation and just had to fix the “Region & Language” section in the settings.

If you want to use English_US, let the language as it is. Then just change the rest of the settings to your local settings. I have set it to Portuguese/Brasil and this solved my problem. Of course you have to apply and login to your system again.

Thanks, but that just works for the desktop. The lock screen is still showing the original date format.

Can you please show your localectl and post it here as a pre-formated text?

This is the result:

   System Locale: LANG=en_US.UTF-8
       VC Keymap: us
      X11 Layout: us

sorry just locale

What you have to look for is:
LC_TIME=pt_BR.UTF-8 this has to be a locale who uses the 24Hour standard. How to set in Gui see above.

Be also aware, that this just works after you logged in with your user you changed it.
If you want to have it system wide, you need to change it so, that while booting the changes already
are active. This I do not have in mind how to achieve.

locale 
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=pt_BR.UTF-8
LC_TIME=pt_BR.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=pt_BR.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=pt_BR.UTF-8
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=pt_BR.UTF-8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

For locale I get:

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=en_GB.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

If I knew were to look, couldn’t I just change US to BR?

You can try it. Settings > “Region & Language” change the rest of the settings, in your case the time settings below the language settings.

Log out and in again and you will see that the login-screen and the lock screen should be in 24Hrs.

That was the very first thing I did. It’s how I discovered the lock screen and the desktop clock are not the same.