Browse Source

fix(nocodb): pg datetime

pull/6263/head
Wing-Kam Wong 1 year ago
parent
commit
c79922b20e
  1. 5
      packages/nocodb/src/db/BaseModelSqlv2.ts

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

@ -3914,10 +3914,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