4390 - [UTCTimeFormat] Convert to ES6 Plugin (#4412)

* 4390 - [UTCTimeFormat] Convert to ES6 Plugin

* Added test for the plugin

* change the key propery name from ISO_KEY to UTC_KEY

Co-authored-by: John Hill <john.c.hill@nasa.gov>
Co-authored-by: Jamie V <jamie.j.vigliotta@nasa.gov>
This commit is contained in:
Mariusz Rosinski
2021-12-06 21:29:05 +01:00
committed by GitHub
parent 749e84611e
commit 420edb75f8
6 changed files with 168 additions and 55 deletions

View File

@ -72,8 +72,9 @@ define([
'./timeline/plugin',
'./hyperlink/plugin',
'./clock/plugin',
'./timer/plugin',
'./DeviceClassifier/plugin'
'./DeviceClassifier/plugin',
'./UTCTimeFormat/plugin',
'./timer/plugin'
], function (
_,
UTCTimeSystem,
@ -126,8 +127,9 @@ define([
Timeline,
Hyperlink,
Clock,
Timer,
DeviceClassifier
DeviceClassifier,
UTCTimeFormat,
Timer
) {
const bundleMap = {
LocalStorage: 'platform/persistence/local',
@ -236,6 +238,7 @@ define([
plugins.Clock = Clock.default;
plugins.Timer = Timer.default;
plugins.DeviceClassifier = DeviceClassifier.default;
plugins.UTCTimeFormat = UTCTimeFormat.default;
return plugins;
});