@everymatrix/player-rglimits 1.31.1 → 1.31.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-rglimits",
3
- "version": "1.31.1",
3
+ "version": "1.31.2",
4
4
  "main": "index.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "0b3995d8c9121bfc27eb9aed6a034bbd1583400b"
38
+ "gitHead": "ced96438778b5026f2dcfb9a87463aa4f1edaa62"
39
39
  }
@@ -31,6 +31,7 @@
31
31
  export let editlimitaction:string = '';
32
32
  export let deletelimitaction:string = '';
33
33
  export let cancelimitscheduleaction:string = '';
34
+ export let getutctime:string = '';
34
35
 
35
36
  let displayNone:boolean = false;
36
37
  let customStylingContainer: HTMLElement;
@@ -318,7 +319,8 @@
318
319
  * @param date - Date to convert.
319
320
  */
320
321
  const dateToReadableString = (date:string):string => {
321
- return moment(date).utc(true).format(datetimeformat || `DD/MM/YYYY HH:mm:ss`);
322
+ const getUtc = getutctime === 'true';
323
+ return moment(date).utc(getUtc).format(datetimeformat || `DD/MM/YYYY HH:mm:ss`);
322
324
  }
323
325
 
324
326
  /**
@@ -873,7 +875,6 @@
873
875
  flex-direction: row;
874
876
  align-items: center;
875
877
  justify-content: center;
876
- button { padding: 5px; border: 1px solid $primary-contrast-color; border-radius: 4px; cursor: pointer; }
877
878
  }
878
879
 
879
880
  .WidgetControls {
@@ -942,18 +943,6 @@
942
943
  background: var(--emw--color-white, #FFFFFF);
943
944
  }
944
945
 
945
- .AddLimitSvg {
946
- height: 2em;
947
- width: 2em;
948
- padding: 5px;
949
- display: flex;
950
- flex-direction: row;
951
- justify-content: center;
952
- background-color: white;
953
- border: 1px solid $primary-contrast-color;
954
- border-radius: 4px;
955
- }
956
-
957
946
  .Gauge {
958
947
  width: 100%;
959
948
  font-family: 'Roboto', sans-serif;