Bug 474450

Summary: MMMM in costom formatting does not work correctly
Product: [Plasma] plasmashell Reporter: w7lrom2ku
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.27.7   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:

Description w7lrom2ku 2023-09-12 12:50:11 UTC
SUMMARY
***
According to the documentation mentioned in the applet (Qt's formatDateTime(...) function), "MMMM" should show the full name of the month. But it won't format it correctly
***


STEPS TO REPRODUCE
1. Right click on digital clock applet
2. Go to "Configure Digital Clock"
3. Set "Date format" to "Costom"
4. type MMMM

OBSERVED RESULT
it shows "M09"

EXPECTED RESULT
it should show "September"

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 23.04
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Using Wayland
Nvidia GTX750-TI
Intel i5 6400
Comment 1 Nate Graham 2023-09-12 18:03:49 UTC
This seems like maybe a Qt regression, as we're passing the format string on to them with no processing. 

It also works for me in Plasma 6, which means if it was a regression in any part of Qt 5, it's already fixed in 6.