nuxeo-development-framework 1.6.6 → 1.6.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 +5 -0
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-helper.service.js +6 -1
- package/fesm2015/nuxeo-development-framework.js +5 -0
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/hijri-gregorian-datepicker/services/date-helper.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -13673,6 +13673,11 @@
|
|
|
13673
13673
|
if (format === void 0) { format = 'YYYY-MM-DDThh:mm:ss.000Z'; }
|
|
13674
13674
|
return momentHijri(dateString, 'iYYYY-iM-iDThh:mm:ss.000Z').locale('en').format(format);
|
|
13675
13675
|
};
|
|
13676
|
+
// our pickeer generate date with gmt and this makes issues when saving to server and using hours to using this function to avoid this
|
|
13677
|
+
DateHelperService.prototype.convertDateToIso = function (date) {
|
|
13678
|
+
var tod = new Date();
|
|
13679
|
+
return date.split('T')[0] + 'T' + tod.getHours() + ':' + tod.getMinutes() + ':' + '00Z';
|
|
13680
|
+
};
|
|
13676
13681
|
return DateHelperService;
|
|
13677
13682
|
}());
|
|
13678
13683
|
DateHelperService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: DateHelperService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|