From c3a9cb377d1b4eca84b432828db1416da374d4cd Mon Sep 17 00:00:00 2001 From: LoudSnorer Date: Sun, 11 Jun 2023 08:48:49 -0400 Subject: [PATCH] statistics - change date format to system local. --- oscar/statistics.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/oscar/statistics.cpp b/oscar/statistics.cpp index 4c3d4654..463d7456 100644 --- a/oscar/statistics.cpp +++ b/oscar/statistics.cpp @@ -998,9 +998,11 @@ struct Period { } else { start = qMax(last.addDays(advance),first); } - name = name + "
" + start.toString("ddMMMyy") ; + name = name + "
" + start.toString(Qt::SystemLocaleShortDate) ; + //name = name + "
" + start.toString(Qt::RFC2822Date) ; if (advance!=0) { - name = name + " - " + last.toString("ddMMMyy"); + //name = name + " - " + last.toString(Qt::RFC2822Date); + name = name + " - " + last.toString(Qt::SystemLocaleShortDate); } this->header = name; this->start = start ;