@esfaenza/es-table 11.2.98 → 11.2.99

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.
@@ -825,7 +825,7 @@
825
825
  /** Effettua l'esportazione del file Excel basandosi sul modulo **ExcelJS**, sugli header **this.est.headers** e sui dati **this.est.data** */
826
826
  ExportHandler.prototype.exportExcel = function () {
827
827
  return __awaiter(this, void 0, void 0, function () {
828
- var iFix, workbook, sheet, header, i, h, i, row, item, i_1, h, cell, val, buffer, blob, objectUrl, fn;
828
+ var iFix, workbook, sheet, header, i, h, i, row, item, i_1, h, cell, val, date, correctedDate, buffer, blob, objectUrl, fn;
829
829
  return __generator(this, function (_b) {
830
830
  switch (_b.label) {
831
831
  case 0:
@@ -853,7 +853,9 @@
853
853
  else {
854
854
  switch (h.type) {
855
855
  case 'date':
856
- cell.value = this.dateExts.getDateConvertion(val).toDate();
856
+ date = this.dateExts.getDateConvertion(val);
857
+ correctedDate = dayjs(date).add(dayjs().utcOffset(), 'minute');
858
+ cell.value = correctedDate.toDate();
857
859
  break;
858
860
  case 'number':
859
861
  cell.value = parseFloat(val.replace(',', '.'));