24-hour ticket

This commit is contained in:
2023-08-22 12:26:52 +02:00
parent 8a7828c1e6
commit 6ea58be34d
3 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ int main() {
{
struct price_t price;
memset(&price, 0x00, sizeof(price));
QDateTime start = QDateTime::fromString("2023-06-02T13:03:00.000Z",Qt::ISODate); //QDateTime::currentDateTime();
QDateTime start = QDateTime::fromString("2023-06-01T07:50:00.000Z",Qt::ISODate); //QDateTime::currentDateTime();
time_t start_parking_time = start.toSecsSinceEpoch() / 60;
time_t end_parking_time = start_parking_time + 1230;