KOrganizer Month View: remove comma in Year
ClosedPublic

Authored by winterz on Oct 14 2019, 4:41 PM.

Details

Summary

fix bug Monthview shows comma in year
https://bugs.kde.org/show_bug.cgi?id=412833

Test Plan

Before this patch the month view title said "October 2,109"
Now it says "October 2019"

Diff Detail

Repository
R76 PIM: Event Views
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
winterz created this revision.Oct 14 2019, 4:41 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptOct 14 2019, 4:41 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
winterz requested review of this revision.Oct 14 2019, 4:41 PM
mlaurent accepted this revision.Oct 15 2019, 4:59 AM
This revision is now accepted and ready to land.Oct 15 2019, 4:59 AM
This revision was automatically updated to reflect the committed changes.

I'm not sure I like this code.

wouldn't it be better to use QString QDate::toString("%MMMM %YYYY")
and then we get localization and stuff.