compute_price_for_parking_ticket():

Comute effective start time (jump over carry over time).
This commit is contained in:
Gerhard Hoffmann 2024-08-12 09:18:20 +02:00
parent cbcf8391b3
commit 41fc924a7c

View File

@ -811,6 +811,7 @@ CalcState CALCULATE_LIBRARY_API compute_price_for_parking_ticket(
} else
if (start_parking_time.time() > p.static_start) { // static_start: e.g. 22:00:00
effectiveStartTime.setTime(p.static_start);
effectiveStartTime == effectiveStartTime.addSecs(carryOverDuration * 60);
}
}
}