<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>486154</bug_id>
          
          <creation_ts>2024-04-26 12:29:23 +0000</creation_ts>
          <short_desc>Add a &quot;Custom&quot; time display option to the Digital Clock widget</short_desc>
          <delta_ts>2024-08-19 23:01:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Digital Clock widget</component>
          <version>5.27.11</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>393956</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aaron Franke">arnfranke</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2314485</commentid>
    <comment_count>0</comment_count>
    <who name="Aaron Franke">arnfranke</who>
    <bug_when>2024-04-26 12:29:23 +0000</bug_when>
    <thetext>SUMMARY

The &quot;Digital Clock&quot; widget has a &quot;Time display&quot; with 3 options: 12 hour, 24 hour, and Use Region Default. Can KDE please add a &quot;Custom&quot; option? Most desktop environments allow setting a fully custom time format, configured with Qt QML time expressions (such as &quot;hh:mm AP&quot; for &quot;12:34 PM&quot; as an example), or percent sign codes like with XFCE and Cinnamon (such as &quot;%I:%M %p&quot; for &quot;12:34 PM&quot; as an example).

Allowing a custom time format would be consistent with KDE already allowing a custom date format. See fixed bug 162368: https://bugs.kde.org/show_bug.cgi?id=162368

SOFTWARE/OS VERSIONS
Linux: Ubuntu 24.04 arm64
KDE Plasma Version: KDE Plasma 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION

Note: I originally sent this in the KDE Matrix room and I was told to open a feature request here.

Note: My custom use case is to allow for placing the date and time in the same row, horizontally. I am using 2 panels, so I have plenty of space, and I prefer my date to be laid out horizontally like it is in macOS (but with the ISO date). Adding a &quot;Custom&quot; option will allow KDE users to set the date and time format to whatever they want, supporting my macOS-like use case and any other use case people may have. KDE already supports custom date formats, so why not custom time formats?

Here is a full list of the custom formatting codes supported by XFCE and Cinnamon, which KDE may want to copy, or use for inspiration: https://www.linuxquestions.org/questions/slackware-14/xfce-clock-custom-formatting-codes-753433/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2346897</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-08-19 23:01:38 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 393956 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>