Fix formatting of takeoff time.

This commit is contained in:
Dan Albert 2023-05-25 22:20:52 -07:00
parent 406fb61fa4
commit 257dabe4fa
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ Saves from 7.x are not compatible with 8.0.
## Fixes
* **[UI]** Fixed formatting of departure time in flight details dialog.
# 7.0.0
Saves from 6.x are not compatible with 7.0.

View File

@ -93,7 +93,7 @@ class FlightPlanPropertiesGroup(QGroupBox):
# is an invalid state for calling anything in TotEstimator.
return
self.departure_time.setText(
f"At {self.flight.flight_plan.startup_time():%H:%M%S}"
f"At {self.flight.flight_plan.startup_time():%H:%M:%S}"
)
def set_divert(self, index: int) -> None: