Bug 450633 - Digital Clock Custom Date format documentation states you can use YYYY, but it literally displays YYYY, not the four digit year.
Summary: Digital Clock Custom Date format documentation states you can use YYYY, but i...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (show other bugs)
Version: 5.24.1
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-21 03:52 UTC by Steven
Modified: 2022-02-21 23:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.