From 5898be8807e702a79fc56af86f19f47dd67d5098 Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Thu, 8 Aug 2024 10:17:11 +0200 Subject: [PATCH] TicketUtils: fix date format string --- src/ATBAPP/support/TicketUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ATBAPP/support/TicketUtils.cpp b/src/ATBAPP/support/TicketUtils.cpp index 9d39777..9c95dd9 100644 --- a/src/ATBAPP/support/TicketUtils.cpp +++ b/src/ATBAPP/support/TicketUtils.cpp @@ -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);