zmdms-webui 2.6.4 → 2.6.5

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.
@@ -602,8 +602,8 @@ function applyExcelStyles(worksheet, data, numKeys, dateKeys, columns, headerRow
602
602
  var cellValue = rowData[dateKey.dataIndex];
603
603
  if (cellValue) {
604
604
  try {
605
- var date = dayjs(String(cellValue)).toDate();
606
- cell.value = date;
605
+ var date = cellValue;
606
+ cell.value = dayjs(String(date)).format(columns[colIndex].dateFormat);
607
607
  cell.numFmt = columns[colIndex].dateFormat;
608
608
  }
609
609
  catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmdms-webui",
3
- "version": "2.6.4",
3
+ "version": "2.6.5",
4
4
  "private": false,
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",
@@ -41,8 +41,7 @@
41
41
  "test": "craco test",
42
42
  "eject": "craco eject",
43
43
  "storybook": "storybook dev -p 6006",
44
- "build-storybook": "storybook build",
45
- "publish:npm": "node publish.cjs"
44
+ "build-storybook": "storybook build"
46
45
  },
47
46
  "eslintConfig": {
48
47
  "extends": [