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

gjditchfi...@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 gjditchfi...@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.

Reply via email to