Browse Source

Merge pull request #6263 from nocodb/fix/pg-datetime

fix(nocodb): pg datetime
pull/6254/head
Raju Udava 1 year ago committed by GitHub
parent
commit
f228c4ec34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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