From 25ff430368620517af4a883ee8d624366f594118 Mon Sep 17 00:00:00 2001 From: Pete Richards Date: Wed, 17 May 2017 18:08:48 -0700 Subject: [PATCH] [TC] Update format on timesystem change Update the format when the timesystem changes. Fixes https://github.com/nasa/openmct/issues/1585 --- .../features/conductor/core/src/ui/TimeConductorController.js | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/features/conductor/core/src/ui/TimeConductorController.js b/platform/features/conductor/core/src/ui/TimeConductorController.js index a8cbe15dbd..0a7ce7fff2 100644 --- a/platform/features/conductor/core/src/ui/TimeConductorController.js +++ b/platform/features/conductor/core/src/ui/TimeConductorController.js @@ -406,6 +406,7 @@ define( var config = this.getConfig(timeSystem, clock); this.$scope.timeSystemModel.selected = timeSystem; + this.$scope.timeSystemModel.format = timeSystem.timeFormat; if (clock === undefined) { this.timeAPI.timeSystem(timeSystem, config.bounds);