diff --git a/packages/nocodb/src/db/formulav2/formulaQueryBuilderv2.ts b/packages/nocodb/src/db/formulav2/formulaQueryBuilderv2.ts index a347455c3f..4c5bc939eb 100644 --- a/packages/nocodb/src/db/formulav2/formulaQueryBuilderv2.ts +++ b/packages/nocodb/src/db/formulav2/formulaQueryBuilderv2.ts @@ -549,7 +549,8 @@ async function _formulaQueryBuilder( }; } else if ( knex.clientType() === 'pg' && - col.dt !== 'timestamp with time zone' + col.dt !== 'timestamp with time zone' && + col.dt !== 'timestamptz' ) { aliasToColumn[col.id] = async (): Promise => { return {