mirror of
https://github.com/nasa/openmct.git
synced 2025-05-05 18:18:26 +00:00
[dev] proper realtime in dev environment
In dev environment, use proper realtime with a clock.
This commit is contained in:
parent
749a2ba088
commit
e2f9a0c9cd
@ -43,7 +43,8 @@
|
|||||||
openmct.install(openmct.plugins.Espresso());
|
openmct.install(openmct.plugins.Espresso());
|
||||||
openmct.install(openmct.plugins.Generator());
|
openmct.install(openmct.plugins.Generator());
|
||||||
openmct.install(openmct.plugins.UTCTimeSystem());
|
openmct.install(openmct.plugins.UTCTimeSystem());
|
||||||
openmct.time.timeSystem("utc", {start: Date.now() - THIRTY_MINUTES, end: Date.now()});
|
openmct.time.clock('local', {start: -THIRTY_MINUTES, end: 0});
|
||||||
|
openmct.time.timeSystem('utc');
|
||||||
openmct.start();
|
openmct.start();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user