Browse Source

fix(nc-gui): parse string date if date is not null

pull/4611/head
Wing-Kam Wong 2 years ago
parent
commit
81f8a591e4
  1. 2
      packages/nc-gui/components/template/Editor.vue

2
packages/nc-gui/components/template/Editor.vue

@ -431,8 +431,10 @@ async function importTemplate() {
input = null
}
} else if (v.uidt === UITypes.Date) {
if (input) {
input = parseStringDate(input, v.meta.date_format)
}
}
res[col.destCn] = input
}
return res

Loading…
Cancel
Save