[dev] proper realtime in dev environment

In dev environment, use proper realtime with a clock.
This commit is contained in:
Pete Richards 2017-05-16 14:58:46 -07:00
parent 749a2ba088
commit e2f9a0c9cd

View File

@ -43,7 +43,8 @@
openmct.install(openmct.plugins.Espresso());
openmct.install(openmct.plugins.Generator());
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();
});
</script>