Formatting date & time - digital clock

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
lmuserx4849

Formatting date & time - digital clock

Post by lmuserx4849 »

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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Software & Applications”