nuxeo-development-framework 1.8.6 → 1.8.7
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/bundles/nuxeo-development-framework.umd.js +3 -0
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +4 -1
- package/fesm2015/nuxeo-development-framework.js +3 -0
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/package.json +1 -1
|
@@ -17833,6 +17833,9 @@
|
|
|
17833
17833
|
CommentItemComponent.prototype.ngOnInit = function () {
|
|
17834
17834
|
var _this = this;
|
|
17835
17835
|
console.log("comment comment", this.comment);
|
|
17836
|
+
var date = new Date(this.comment.creationDate);
|
|
17837
|
+
date.setSeconds(date.getSeconds() - 5);
|
|
17838
|
+
this.comment.creationDate = date.toISOString();
|
|
17836
17839
|
this.langSubscription = this.translationSrvice.isArabic.subscribe(function (res) {
|
|
17837
17840
|
_this.lang = res ? 'ar' : 'en';
|
|
17838
17841
|
});
|