From 9a819886d1645212906610dbbc62a026c15977f9 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 12 May 2023 17:58:26 +0800 Subject: [PATCH] fix(nocodb): sqlite ext api response --- packages/nocodb/src/db/BaseModelSqlv2.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/nocodb/src/db/BaseModelSqlv2.ts b/packages/nocodb/src/db/BaseModelSqlv2.ts index 75325c5b77..3d011e5e76 100644 --- a/packages/nocodb/src/db/BaseModelSqlv2.ts +++ b/packages/nocodb/src/db/BaseModelSqlv2.ts @@ -3262,11 +3262,12 @@ class BaseModelSqlv2 { if (d[col.title]) { if (this.isSqlite) { if (!col.cdf && !isXcdbBase) { - // for external db, timezone already attached to input - // e.g. xcdb: 2023-05-10 10:24:30 - // e.g. ext : 2023-05-10 10:25:45+00:00 - // hence, skip it - continue; + if (d[col.title].indexOf('+') > -1) { + // e.g. 2023-05-10 10:25:45+00:00 + // timezone already attached to input + // hence, skip it + continue; + } } }