[korganizer] [Bug 453292] KOrganizer shows wrong month form in headers

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed May 25 18:28:42 BST 2022


https://bugs.kde.org/show_bug.cgi?id=453292

gjditchfield at acm.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/pim/ |https://invent.kde.org/grap
                   |calendarsupport/commit/2fd7 |hics/kdiagram/commit/7d33b4
                   |53e34b5ee3882af8d4cc7a8aa74 |e091d13b7dd255d6682aa434b9a
                   |414d02253                   |0e2f657

--- Comment #9 from gjditchfield at acm.org ---
Git commit 7d33b4e091d13b7dd255d6682aa434b9a0e2f657 by Glen Ditchfield, on
behalf of Glen Ditchfield.
Committed on 16/05/2022 at 18:51.
Pushed by gditchfield into branch 'master'.

Improve internationalization in KGantt

`QDate::toString()` does not fully localize dates:  it does not reorder
date components or choose the proper form of month names.  For example,
in a Polish locale it returns "maj 1" instead of "1 maja".
Furthermore, in Qt6 date and time `toString()` methods will not perform
localization.

This patch switches to `QLocale()::toString()`.

M  +5    -4    src/KGantt/kganttdatetimegrid.cpp
M  +2    -1    src/KGantt/kganttgraphicsview.cpp

https://invent.kde.org/graphics/kdiagram/commit/7d33b4e091d13b7dd255d6682aa434b9a0e2f657

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list