From 257dabe4fa41c41bb86e0b88b2b0fda75ffbf007 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Thu, 25 May 2023 22:20:52 -0700 Subject: [PATCH] Fix formatting of takeoff time. --- changelog.md | 2 ++ .../mission/flight/settings/FlightPlanPropertiesGroup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 8538e5d2..0b0a8d0f 100644 --- a/changelog.md +++ b/changelog.md @@ -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. diff --git a/qt_ui/windows/mission/flight/settings/FlightPlanPropertiesGroup.py b/qt_ui/windows/mission/flight/settings/FlightPlanPropertiesGroup.py index 21d42f67..8c05e499 100644 --- a/qt_ui/windows/mission/flight/settings/FlightPlanPropertiesGroup.py +++ b/qt_ui/windows/mission/flight/settings/FlightPlanPropertiesGroup.py @@ -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: