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.
@@ -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 });