Remove an extra colon from the receipt time

[ci skip]
This commit is contained in:
Konstantinos Sideris 2018-01-04 10:52:49 +02:00
parent cd54a3e44f
commit a7e84b63ac
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ ReceiptItem::dateFormat(const QDateTime &then) const
if (days == 0)
return QString("Today %1").arg(then.toString("HH:mm"));
else if (days < 2)
return QString("Yesterday %1").arg(then.toString("HH::mm"));
return QString("Yesterday %1").arg(then.toString("HH:mm"));
else if (days < 365)
return then.toString("dd/MM HH:mm");