Use the QDate toString to format the monthview header
this way we get localization for free.
Details
Details
header still looks like "October 2019" (in my locale)
Diff Detail
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.
Comment Actions
I wonder if the original way was done for translation purposes? In any event, I think relying on localization makes more sense.
Comment Actions
is it in all language we have Month + year ?
Because now we can"t customize it for each language.
Comment Actions
I have no idea
Because now we can"t customize it for each language.
true
oh well. kinda seemed strange not to use the datestring function as intended. on the other hand, "if it's not broken=>don't fix it"
Comment Actions
I grepped the localizations and it appears that everyone uses the "month year" format, so this change looks safe.