Browse Source

fix(nocodb): remove formula for convertdatetime

pull/5659/head
Wing-Kam Wong 2 years ago
parent
commit
09bd8010e5
  1. 4
      packages/nocodb/src/db/BaseModelSqlv2.ts

4
packages/nocodb/src/db/BaseModelSqlv2.ts

@ -3359,9 +3359,7 @@ class BaseModelSqlv2 {
if (data) {
const dateTimeColumns = (
childTable ? childTable.columns : this.model.columns
).filter(
(c) => c.uidt === UITypes.DateTime || c.uidt === UITypes.Formula,
);
).filter((c) => c.uidt === UITypes.DateTime);
if (dateTimeColumns.length) {
if (Array.isArray(data)) {
data = data.map((d) =>

Loading…
Cancel
Save