TicketUtils: fix date format string
This commit is contained in:
parent
f20957c14a
commit
5898be8807
@ -16,7 +16,7 @@ QString TicketUtils::getLocaleDateString(const QLocale & qLocale, const QDate &
|
||||
if (qLocale.language() == QLocale::Lithuanian) {
|
||||
// QLocale::ShortFormat produces date string: "yyyy-mm-dd" ...
|
||||
// this is to long for the printer.
|
||||
dateString = qDate.toString("YY-MM-dd");
|
||||
dateString = qDate.toString("yy-MM-dd");
|
||||
}
|
||||
else {
|
||||
dateString = qLocale.toString(qDate, QLocale::ShortFormat);
|
||||
|
Loading…
Reference in New Issue
Block a user