aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme/PackThemeDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/theme/PackThemeDialog.cpp')
-rw-r--r--src/modules/theme/PackThemeDialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/theme/PackThemeDialog.cpp b/src/modules/theme/PackThemeDialog.cpp
index c3f07d443..875266f06 100644
--- a/src/modules/theme/PackThemeDialog.cpp
+++ b/src/modules/theme/PackThemeDialog.cpp
@@ -470,7 +470,9 @@ bool PackThemeDialog::packTheme()
switch(KVI_OPTION_UINT(KviOption_uintOutputDatetimeFormat))
{
case 0:
- szTmp = date.toString();
+ // this is the equivalent to an empty date.toString() call, but it's needed
+ // to ensure qt4 will use the default() locale and not the system() one
+ szTmp = QLocale().toString(date, "ddd MMM d hh:mm:ss yyyy");
break;
case 1:
szTmp = date.toString(Qt::ISODate);