From edbc97362f95c9ebf3a736108f95cfaf1286ad00 Mon Sep 17 00:00:00 2001 From: Abhishek Porwal <80886271+Abhishek332@users.noreply.github.com> Date: Fri, 19 Jan 2024 22:12:43 +0530 Subject: [PATCH] fix: data filter on pipline execution page (#14796) --- .../ui/src/components/Execution/Execution.component.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Execution/Execution.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Execution/Execution.component.tsx index c970ce57201..2f67dd54255 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Execution/Execution.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Execution/Execution.component.tsx @@ -103,8 +103,8 @@ const ExecutionsTab = ({ pipelineFQN, tasks }: ExecutionProps) => { const onDateChange: RangePickerProps['onChange'] = (values) => { if (values) { - const startTime = values[0]?.valueOf() ?? 0; - const endTime = values[1]?.valueOf() ?? 0; + const startTime = values[0]?.startOf('day').valueOf() ?? 0; + const endTime = values[1]?.endOf('day').valueOf() ?? 0; if (!isNaN(startTime) && !isNaN(endTime)) { setStartTime(startTime);