@esfaenza/es-table 11.2.106 → 11.2.107

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.
@@ -882,10 +882,11 @@
882
882
  if (date) {
883
883
  correctedDate = dayjs(date).add(dayjs().utcOffset(), 'minute');
884
884
  cell.value = correctedDate.toDate();
885
+ cell.numFmt = val.length > 10 ? 'dd/mm/yyyy h:m:s' : '';
885
886
  }
886
887
  break;
887
888
  case 'number':
888
- cell.value = parseFloat(val.replace(',', '.'));
889
+ cell.value = val ? parseFloat(val.replace(',', '.')) : null;
889
890
  break;
890
891
  default:
891
892
  cell.value = val;