Browse Source

Merge pull request #4611 from nocodb/fix/import-csv-date

fix(nc-gui): parse string date if date is not null
pull/4614/head
աɨռɢӄաօռɢ 2 years ago committed by GitHub
parent
commit
fc01ea032f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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