diff options
Diffstat (limited to 'src/modules/list/ListWindow.cpp')
| -rw-r--r-- | src/modules/list/ListWindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/list/ListWindow.cpp b/src/modules/list/ListWindow.cpp index 064482135..b005f4420 100644 --- a/src/modules/list/ListWindow.cpp +++ b/src/modules/list/ListWindow.cpp @@ -372,7 +372,9 @@ void ListWindow::exportList() switch(KVI_OPTION_UINT(KviOption_uintOutputDatetimeFormat)) { case 0: - szDate = date.toString("d MMM yyyy hh-mm"); + // 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 + szDate = QLocale().toString(date, "ddd MMM d hh:mm:ss yyyy"); break; case 1: szDate = date.toString(Qt::ISODate); |
