GetDailyTicketDuration: use QDateTime for timestamps
This commit is contained in:
		| @@ -29,5 +29,5 @@ public: | ||||
|     double GetCostFromDuration(Configuration* cfg, uint8_t vehicle_type, const QDateTime start_datetime, QDateTime & end_datetime, double durationMin, bool nextDay = false, bool prepaid = false); | ||||
|  | ||||
|     // Daily ticket | ||||
|     QString GetDailyTicketDuration(Configuration* cfg, QString start_datetime, uint8_t payment_option, bool carry_over); | ||||
|     QDateTime GetDailyTicketDuration(Configuration* cfg, const QDateTime start_datetime, uint8_t payment_option, bool carry_over); | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user