diff --git a/src/GUI/gui.cpp b/src/GUI/gui.cpp
index 2e22fcbf..933a7c59 100644
--- a/src/GUI/gui.cpp
+++ b/src/GUI/gui.cpp
@@ -1307,14 +1307,14 @@ void GUI::statistics()
+ l.toString(_areaCount) + "
");
if (_dateRange.first.isValid()) {
- QString format = l.dateFormat(QLocale::ShortFormat);
if (_dateRange.first == _dateRange.second)
text.append("" + tr("Date") + ": "
- + _dateRange.first.toString(format) + "
");
+ + l.toString(_dateRange.first, QLocale::ShortFormat) + "
");
else
text.append("" + tr("Date") + ": "
- + QString("%1 - %2").arg(_dateRange.first.toString(format),
- _dateRange.second.toString(format)) + "
");
+ + QString("%1 - %2").arg(l.toString(_dateRange.first,
+ QLocale::NarrowFormat), l.toString(_dateRange.second,
+ QLocale::NarrowFormat)) + "
");
}
if (distance() > 0)
@@ -1372,14 +1372,13 @@ void GUI::statistics()
if (_dateRange.first.isValid()) {
if (_dateRange.first == _dateRange.second) {
- QString format = l.dateFormat(QLocale::LongFormat);
text.append("