Bug 450633

Summary: Digital Clock Custom Date format documentation states you can use YYYY, but it literally displays YYYY, not the four digit year.
Product: [Plasma] plasmashell Reporter: Steven <Steven.E.Friedrich>
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nate
Priority: NOR    
Version: 5.24.1   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Steven 2022-02-21 03:52:57 UTC
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
Comment 1 Nate Graham 2022-02-21 23:41:29 UTC
"YYYY" is not a valid format string; it's "yyyy". See https://doc.qt.io/qt-5/qml-qtqml-qt.html#formatDateTime-method.