aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme/SaveThemeDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/theme/SaveThemeDialog.cpp')
-rw-r--r--src/modules/theme/SaveThemeDialog.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/theme/SaveThemeDialog.cpp b/src/modules/theme/SaveThemeDialog.cpp
index 09e748510..9a1bb93b3 100644
--- a/src/modules/theme/SaveThemeDialog.cpp
+++ b/src/modules/theme/SaveThemeDialog.cpp
@@ -262,9 +262,7 @@ bool SaveThemeDialog::saveTheme()
sto.setAuthor(m_pAuthorNameEdit->text());
sto.setDescription(m_pThemeDescriptionEdit->toPlainText());
- // 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
- sto.setDate(QLocale().toString(QDateTime::currentDateTime(), "ddd MMM d hh:mm:ss yyyy"));
+ sto.setDate(QDateTime::currentDateTime().toString(Qt::ISODate));
sto.setVersion(m_pThemeVersionEdit->text());
sto.setApplication("KVIrc " KVI_VERSION "." KVI_SOURCES_DATE);