diff --git a/packages/nocodb/src/db/functionMappings/mssql.ts b/packages/nocodb/src/db/functionMappings/mssql.ts index 7c267a9721..e0e09c0d3d 100644 --- a/packages/nocodb/src/db/functionMappings/mssql.ts +++ b/packages/nocodb/src/db/functionMappings/mssql.ts @@ -130,7 +130,7 @@ const mssql = { )}, ${dateIN > 0 ? '+' : ''}${(await fn(pt.arguments[1])).builder}, ${ (await fn(pt.arguments[0])).builder - }), 'yyyy-MM-dd HH:mm') + }), 'yyyy-MM-dd HH:mm:ss') ELSE FORMAT(DATEADD(${String((await fn(pt.arguments[2])).builder).replace( /["']/g,