Dan Albert 5ba633c8a1 Round TOT/start time as needed.
The increased precision that we had everywhere except the UI and the
interface with DCS was causing issues with ASAP creating barely
negative start times. The main cause of this was that we'd compute the
earliest possible TOT, it would result in, for example, 23:10.002.
When we then set the QTimeEdit for the TOT, we have to round because
it does not support (nor do we really want to display) sub-second
values, which then caused the previously 0 start time to be -0.002.

Instead, since the sub-second values aren't really interesting anyway,
we now just round TOTs up and start times down. This should prevent
negative start times from occurring (except when they've been manually
planned as such), and also prevents start times of 00:00:01.

Also rounds the package waypoint times to avoid the same issues, but
it's not really important which direction we round these.

Fixes https://github.com/Khopa/dcs_liberation/issues/295
2020-11-01 13:31:10 -08:00
..
2020-11-01 13:31:10 -08:00
2020-10-26 21:06:25 +01:00
2020-10-31 19:29:24 -07:00
2020-09-03 15:02:59 -07:00
2020-10-31 20:09:20 -07:00
2020-10-31 20:28:07 -07:00
2020-09-25 17:11:17 +02:00
2020-09-25 01:13:59 +02:00
2020-08-31 13:01:05 -07:00