From 73a179e6b02396d09f6244ef98e3ebb354b046c6 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 7 Feb 2024 14:08:20 +0000 Subject: [PATCH] fix: typo correction --- packages/nocodb/src/db/conditionV2.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/db/conditionV2.ts b/packages/nocodb/src/db/conditionV2.ts index d1670525c6..325b3d63f1 100644 --- a/packages/nocodb/src/db/conditionV2.ts +++ b/packages/nocodb/src/db/conditionV2.ts @@ -663,7 +663,7 @@ const parseConditionV2 = async ( genVal = genVal.format(dateFormat).toString(); // keep YYYY-MM-DD only for date genVal = - column.uidt === UITypes.Date ? val.substring(0, 10) : genVal; + column.uidt === UITypes.Date ? genVal.substring(0, 10) : genVal; } }