Bug 474450 - MMMM in costom formatting does not work correctly
Summary: MMMM in costom formatting does not work correctly
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (other bugs)
Version First Reported In: 5.27.7
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-12 12:50 UTC by w7lrom2ku
Modified: 2023-09-12 18:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.0
Sentry Crash Report:


Attachments

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