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

Andi Clemens andi.clemens at gmx.net
Sun Jul 12 22:04:52 CEST 2009


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





--- Comment #10 from Andi Clemens <andi clemens gmx net>  2009-07-12 22:04:49 ---
This patch is not locale aware. As I posted above, we should use KLocale
instead.

Something like

KLocale tmpLocale(*KGlobal::locale());                                          
tmpLocale.setDateFormat("%Y");
QString year = tmpLocale.formatDate(date);

would be better.

-- 
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