Formatting date & time - digital clock

Forum rules
Before you post please read how to get help
Post Reply
lmuserx4849
Level 5
Level 5
Posts: 709
Joined: Wed Dec 17, 2014 2:55 am

Formatting date & time - digital clock

Post by lmuserx4849 » Wed Feb 07, 2018 4:51 am

I ran into the date time format issue with the digital clock. It was mentioned in thread.

There is a bug report.

I went with this solution.

Modified from the above site:
cd /usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/

cp DigitalClock.qml to DigitalClock.qml.install

nano DigitalClock.qml

Find the following line:

dateLabel.text = Qt.formatDate(main.currentTime, main.dateFormat);

Replace it by the following:

dateLabel.text = Qt.formatDate(main.currentTime, "ddd, MMM dd, yyyy" );
- date formats

Post Reply

Return to “KDE”