Browse Source

chore(nocodb): remove parseInputDatesAsUTC

pull/5601/head
Wing-Kam Wong 2 years ago
parent
commit
4e6ea666a5
  1. 2
      packages/nocodb-nest/src/db/CustomKnex.ts

2
packages/nocodb-nest/src/db/CustomKnex.ts

@ -11,8 +11,6 @@ import type { BaseModelSql } from './BaseModelSql';
dayjs.extend(utc);
dayjs.extend(timezone);
pg.defaults.parseInputDatesAsUTC = true;
// override parsing date column to Date()
types.setTypeParser(1082, (val) => val);
// override timestamp

Loading…
Cancel
Save