Formatting date & time - digital clock

Forum rules
Before you post please read how to get help
Post Reply

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”