statistics - change date format to system local.

This commit is contained in:
LoudSnorer 2023-06-11 08:48:49 -04:00
parent 77ce41fd6f
commit c3a9cb377d

View File

@ -998,9 +998,11 @@ struct Period {
} else {
start = qMax(last.addDays(advance),first);
}
name = name + "<br>" + start.toString("ddMMMyy") ;
name = name + "<br>" + start.toString(Qt::SystemLocaleShortDate) ;
//name = name + "<br>" + 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 ;