From 87c59de383b5e25cd63f57aa6837a8067853f077 Mon Sep 17 00:00:00 2001 From: Jon Penwood Date: Tue, 14 Sep 2021 11:12:43 -0600 Subject: [PATCH] Updated moment-formatter timezone --- components/block.js | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components/block.js b/components/block.js index c8a18c2..179c175 100644 --- a/components/block.js +++ b/components/block.js @@ -3,5 +3,8 @@ polarity.export = PolarityComponent.extend({ webUrl: Ember.computed('block.userOptions.url', function(){ const url = this.get('block.userOptions.url'); return url.endsWith('/') ? url : `${url}/`; + }), + timezone: Ember.computed("Intl", function () { + return Intl.DateTimeFormat().resolvedOptions().timeZone; }) }); diff --git a/package.json b/package.json index bbe1da2..013ff5f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "main": "./integration.js", "name": "opencti", - "version": "3.0.0-beta", + "version": "3.0.1-beta", "private": true, "dependencies": { "async": "^2.6",