Allow to disable separator in Digital clock one-line mode

Yeah, it’s not the prettiest and quite distracting if you don’t use a leading 0 in your clock. |0:32 looks like 10:32.

For anyone looking for a temporary solution that removes both the separator and the extra spacing it adds:

  1. Copy the plasmoid to your home directory
    cp -r /usr/share/plasma/plasmoids/org.kde.plasma.digitalclock ~/.local/share/plasma/plasmoids/
  2. Open it in in a text editor
  3. Delete this entire section
Rectangle {
id: separator

property bool isOneLineMode: main.state == "oneLineDate"

height: timeLabel.height * 0.8
width: timeLabel.height / 16
radius: width / 2
color: Kirigami.Theme.textColor

anchors.leftMargin: timeMetrics.advanceWidth(" ") + width / 2
anchors.verticalCenter: parent.verticalCenter
anchors.left: dateLabel.right

visible: isOneLineMode
}

4.Go to line 252 and change 2 to 1 at the end of the string
width: dateLabel.width + labelsGrid.width + timeMetrics.advanceWidth(" ") * 2

This should revert the clock to how it was before.
I also like to edit ~/.local/share/plasma/plasmoids/org.kde.plasma.digitalclock/metadata.json and change the name of the widget so I know I’m using the modified one.