• Re: Digital clock wizard and 24-hour format

    From luca.pedrielli@21:1/5 to All on Sun Mar 20 18:00:01 2022
    Il 20/03/22 13:39, local10 ha scritto:
    Hi,

    Am struggling to get the KDE Digital clock wizard to use the 24-hour format when using the "Copy to clipboard" menu option. See [1] and [2] for my settings. The Digital Clock wizard uses 24-hour format when it shows the time in the panel but when using
    its "Copy to clipboard" option it still uses the AM/PM format. I couldn't find any way to fix this.
    Any ideas? Thanks

    1. https://i.postimg.cc/025NB9P5/regional-settings.png
    2. https://i.postimg.cc/bNRmqH7H/regional-settings-2.png

    Operating System: Debian GNU/Linux 11
    KDE Plasma Version: 5.20.5
    KDE Frameworks Version: 5.78.0
    Qt Version: 5.15.2
    Kernel Version: 5.10.0-12-amd64
    OS Type: 64-bit

    and if you try with a different Region?

    --
    Saluti, Luca Pedrielli

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Shai Berger@21:1/5 to All on Sun Mar 20 18:40:01 2022
    FWIW, my digital clock's "Time display" is set to "Use Region
    Defaults", not "24 hours", and I do get a 24 hour clock (which is what
    my region defines).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chris@21:1/5 to All on Sun Mar 20 20:00:01 2022
    This is a multi-part message in MIME format.

    On Sunday, 20 March 2022 18:29:54 CET Shai Berger wrote:
    FWIW, my digital clock's "Time display" is set to "Use Region
    Defaults", not "24 hours", and I do get a 24 hour clock (which is what
    my region defines).

    I've fixed that issue on my box about 6 month ago, I can't remember how I did that exactly. The core of it however was that the `locales` were defined in several places, like 2 or 3, and that one of them was inconsistent with the others. And I've just deleted it.

    Now my setting is, I have no local whatsoever, viz, I use `LC_ALL="C.UTF-8"` and that's it. Only "spell check" is "US-EN".

    Really my issue was with the screen saver time display. And there were no simple way to fix that. But with "consistent" locales, it really works smoothly.

    And not every bits of kde software were looking in kde config for locales data, and there were the system wide locales, and the user's locales: that makes three.

    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On Sunday, 20 March 2022 18:29:54 CET Shai Berger wrote:</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; FWIW, my digital clock's &quot;Time display&quot; is set to &quot;Use Region</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Defaults&quot;, not &quot;24 hours&quot;, and I do get a 24 hour clock (which is what</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; my region defines).</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I've fixed that issue on my box about 6 month ago, I can't remember how I did that exactly. The core of it however was that the `locales` were defined in several places, like 2
    or 3, and that one of them was inconsistent with the others. And I've just deleted it.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Now my setting is, I have no local whatsoever, viz, I use `<span style="font-family:monospace;"><span style="background-color:#ffffff;"><span style="color:#000000;">LC_ALL=&quot;
    C.UTF-8&quot;` and that's it. Only &quot;spell check&quot; is &quot;US-EN&quot;.</span></span></span></p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Really my issue was with the screen saver time display. And there were no simple way to fix that. But with &quot;consistent&quot; locales, it really works smoothly.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">And not every bits of kde software were looking in kde config for locales data, and there were the system wide locales, and the user's locales: that makes three.</p>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From local10@21:1/5 to All on Mon Mar 21 02:50:01 2022
    Mar 20, 2022, 16:52 by agoiza@gmail.com:

    and if you try with a different Region?


    I tried setting "osa_US" -- which also uses 24-hour time format -- as the time format in KDE but "Copy to Clipboard" still showed time in the AM/PM format.

    Regards,

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From luca.pedrielli@21:1/5 to All on Mon Mar 21 08:10:01 2022
    Il 21/03/22 02:40, local10 ha scritto:
    Mar 20, 2022, 16:52 by agoiza@gmail.com:

    and if you try with a different Region?

    I tried setting "osa_US" -- which also uses 24-hour time format -- as the time format in KDE but "Copy to Clipboard" still showed time in the AM/PM format.

    Regards,

    and if you try with Region "it_IT" and "Detailed Settings" disabled + logout/login ?

    --
    Saluti, Luca Pedrielli

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)