Skip to content

Commit

Permalink
Merge pull request #2 from polarityio/develop
Browse files Browse the repository at this point in the history
Updated moment-formatter timezone
  • Loading branch information
penwoodjon authored Sep 14, 2021
2 parents fa8ba3a + 87c59de commit c550d99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions components/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
})
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit c550d99

Please sign in to comment.