[TC] Update format on timesystem change

Update the format when the timesystem changes.

Fixes https://github.com/nasa/openmct/issues/1585
This commit is contained in:
Pete Richards 2017-05-17 18:08:48 -07:00
parent cc9a2cbf4f
commit 25ff430368

View File

@ -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);