Fix: string to QDateTime
This commit is contained in:
parent
62426e60d5
commit
4a076e1dad
@ -247,7 +247,7 @@ CalcState CALCULATE_LIBRARY_API compute_duration_for_parking_ticket(
|
|||||||
tariff, PaymentOption::Option1,
|
tariff, PaymentOption::Option1,
|
||||||
cs.toLocal8Bit().constData(),
|
cs.toLocal8Bit().constData(),
|
||||||
price, false, true).c_str();
|
price, false, true).c_str();
|
||||||
ticketEndTime = QDateTime::fromString(endTime);
|
ticketEndTime = QDateTime::fromString(endTime,Qt::ISODate);
|
||||||
|
|
||||||
// DEBUG
|
// DEBUG
|
||||||
qCritical() << "compute_duration_for_parking_ticket(): ";
|
qCritical() << "compute_duration_for_parking_ticket(): ";
|
||||||
|
Loading…
Reference in New Issue
Block a user