@everymatrix/casino-game-page 0.0.101 → 0.0.105

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/casino-game-page",
3
- "version": "0.0.101",
3
+ "version": "0.0.105",
4
4
  "main": "dist/casino-game-page.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "e05b2de15a252769e530482147f17b34c527a118"
39
+ "gitHead": "35b024215b5e3caf790e611d83ef9fce18aada4e"
40
40
  }
@@ -23,6 +23,8 @@
23
23
  export let registerevent:String = '';
24
24
  export let depositevent:String = '';
25
25
 
26
+ export let clockformat:String = '';
27
+
26
28
  let time:Object;
27
29
  let iframe:any;
28
30
 
@@ -310,7 +312,11 @@
310
312
  }
311
313
 
312
314
  const refreshTime = () => {
313
- time = moment().format('LTS');
315
+ if (clockformat) {
316
+ time = moment().format(clockformat);
317
+ } else {
318
+ time = moment().format('LTS');
319
+ }
314
320
  }
315
321
 
316
322
  const timeInterval = setInterval(() => {