Browse Source

fix(nocodb): pg datetime issue

pull/6877/head
աɨռɢӄաօռɢ 10 months ago
parent
commit
8b6350535b
  1. 5
      packages/nocodb/src/db/BaseModelSqlv2.ts

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

@ -4304,10 +4304,7 @@ class BaseModelSqlv2 {
}
}
if (
this.isPg &&
(col.dt === 'timestamp with time zone' || col.dt === 'timestamptz')
) {
if (this.isPg) {
// postgres - timezone already attached to input
// e.g. 2023-05-11 16:16:51+08:00
keepLocalTime = false;

Loading…
Cancel
Save