chore: remove all usage of deprecated Time API methods (#7688)

* chore: remove all usage of deprecated Time API methods

* test: update unit test

* docs: Fix spacing and add clarity to TimeConductorBounds definition.

* test: add unit test coverage for new time api methods
This commit is contained in:
Jesse Mazzella
2024-04-16 14:12:09 -07:00
committed by GitHub
parent e91aba2e37
commit 6c5b925454
40 changed files with 460 additions and 249 deletions

View File

@ -280,7 +280,7 @@ export default {
await this.$nextTick();
},
formattedValueForCopy() {
const timeFormatterKey = this.openmct.time.timeSystem().key;
const timeFormatterKey = this.openmct.time.getTimeSystem().key;
const timeFormatter = this.formats[timeFormatterKey];
const unit = this.unit ? ` ${this.unit}` : '';