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. 4
      packages/nc-gui/components/template/Editor.vue

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

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

Loading…
Cancel
Save