fix: data filter on pipline execution page (#14796)

This commit is contained in:
Abhishek Porwal 2024-01-19 22:12:43 +05:30 committed by GitHub
parent 3f78e072e1
commit edbc97362f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);