From a7b4ae733f1c6a87db0a1e08b89625dd50e44224 Mon Sep 17 00:00:00 2001 From: Zubair Khalid Date: Tue, 15 Apr 2025 17:14:22 +0100 Subject: [PATCH] [FEATURE] Show time with date for last modified date for chatflow/agentflow/credentials/variables (#4300) feat(ui): show time with date for last modified date for chatflow/agentflow/credentials/variables Co-authored-by: coolpengwing --- packages/ui/src/ui-component/table/FlowListTable.jsx | 4 +++- packages/ui/src/views/credentials/index.jsx | 4 ++-- packages/ui/src/views/variables/index.jsx | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/ui/src/ui-component/table/FlowListTable.jsx b/packages/ui/src/ui-component/table/FlowListTable.jsx index dea00791..fad0f52a 100644 --- a/packages/ui/src/ui-component/table/FlowListTable.jsx +++ b/packages/ui/src/ui-component/table/FlowListTable.jsx @@ -248,7 +248,9 @@ export const FlowListTable = ({ data, images, isLoading, filterFunction, updateF )} - {moment(row.updatedDate).format('MMMM Do, YYYY')} + + {moment(row.updatedDate).format('MMMM Do, YYYY HH:mm:ss')} + { - {moment(credential.updatedDate).format('MMMM Do, YYYY')} + {moment(credential.updatedDate).format('MMMM Do, YYYY HH:mm:ss')} - {moment(credential.createdDate).format('MMMM Do, YYYY')} + {moment(credential.createdDate).format('MMMM Do, YYYY HH:mm:ss')} edit(credential)}> diff --git a/packages/ui/src/views/variables/index.jsx b/packages/ui/src/views/variables/index.jsx index e9a1fbf4..37cc8ae7 100644 --- a/packages/ui/src/views/variables/index.jsx +++ b/packages/ui/src/views/variables/index.jsx @@ -340,10 +340,10 @@ const Variables = () => { /> - {moment(variable.updatedDate).format('MMMM Do, YYYY')} + {moment(variable.updatedDate).format('MMMM Do, YYYY HH:mm:ss')} - {moment(variable.createdDate).format('MMMM Do, YYYY')} + {moment(variable.createdDate).format('MMMM Do, YYYY HH:mm:ss')} edit(variable)}>