SUMMARY STEPS TO REPRODUCE 1. Add Digital Clock widget to your desktop. 2. Right click Digital clock to see pop-up menu. 3. Select Configure Digital Clock 4. On Appearance page, select Custom Date format. 5. Enter just YYYY as the format string. 6. Click OK or Apply. OBSERVED RESULT Observe the Custom date is literally YYYY, not the four digit year. EXPECTED RESULT Four digit year per documentation. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.24.1 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION
"YYYY" is not a valid format string; it's "yyyy". See https://doc.qt.io/qt-5/qml-qtqml-qt.html#formatDateTime-method.