diff --git a/ui/src/app/workflows/components/workflow-node-info/workflow-node-info.tsx b/ui/src/app/workflows/components/workflow-node-info/workflow-node-info.tsx index acfc9b0bf6a1..0653cbb3f0d8 100644 --- a/ui/src/app/workflows/components/workflow-node-info/workflow-node-info.tsx +++ b/ui/src/app/workflows/components/workflow-node-info/workflow-node-info.tsx @@ -79,6 +79,24 @@ const AttributeRows = (props: {attributes: {title: string; value: any}[]}) => ( ); +const DisplayWorkflowTime = (props: {date: Date | string | number}) => { + const {date} = props; + const getLocalDateTime = (utc: Date | string | number) => { + return new Date(utc.toString()).toLocaleString(); + }; + return ( +