[Kde-imaging] [Bug 196888] Create Calender: Year formatted as 2, 009 on last page of wizard

Andi Clemens andi.clemens at gmx.net
Mon Jul 13 08:53:24 CEST 2009


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





--- Comment #15 from Andi Clemens <andi clemens gmx net>  2009-07-13 08:53:22 ---
I'm not sure if QDate is already locale aware, because we set it with

KGlobal::locale()->calendar()->setDate(d, cSettings_->year(), 1, 1);

before.
So you can either try using the QDate object directly:

[...] "Following months will be printed for year %1:<br/>",
QString::number(d.year()))

or use it like that:

QString year = tmpLocale.formatDate(d);

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-imaging mailing list