Merge pull request #1553 from nasa/time-api-redo

[Time API] V1.0 Time API and associated refactoring
This commit is contained in:
Pete Richards
2017-05-01 17:11:19 -07:00
committed by GitHub
66 changed files with 2268 additions and 2491 deletions

View File

@@ -163,15 +163,15 @@ define(
}
if (request.start === undefined && request.end === undefined) {
bounds = this.openmct.conductor.bounds();
bounds = this.openmct.time.bounds();
fullRequest.start = bounds.start;
fullRequest.end = bounds.end;
}
if (request.domain === undefined) {
timeSystem = this.openmct.conductor.timeSystem();
timeSystem = this.openmct.time.timeSystem();
if (timeSystem !== undefined) {
fullRequest.domain = timeSystem.metadata.key;
fullRequest.domain = timeSystem.key;
}
}