[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 <coolpengwing@gmail.com>
This commit is contained in:
Zubair Khalid
2025-04-15 17:14:22 +01:00
committed by GitHub
parent e75c831beb
commit a7b4ae733f
3 changed files with 7 additions and 5 deletions
@@ -248,7 +248,9 @@ export const FlowListTable = ({ data, images, isLoading, filterFunction, updateF
</Box>
)}
</StyledTableCell>
<StyledTableCell key='3'>{moment(row.updatedDate).format('MMMM Do, YYYY')}</StyledTableCell>
<StyledTableCell key='3'>
{moment(row.updatedDate).format('MMMM Do, YYYY HH:mm:ss')}
</StyledTableCell>
<StyledTableCell key='4'>
<Stack
direction={{ xs: 'column', sm: 'row' }}
+2 -2
View File
@@ -352,10 +352,10 @@ const Credentials = () => {
</Box>
</StyledTableCell>
<StyledTableCell>
{moment(credential.updatedDate).format('MMMM Do, YYYY')}
{moment(credential.updatedDate).format('MMMM Do, YYYY HH:mm:ss')}
</StyledTableCell>
<StyledTableCell>
{moment(credential.createdDate).format('MMMM Do, YYYY')}
{moment(credential.createdDate).format('MMMM Do, YYYY HH:mm:ss')}
</StyledTableCell>
<StyledTableCell>
<IconButton title='Edit' color='primary' onClick={() => edit(credential)}>
+2 -2
View File
@@ -340,10 +340,10 @@ const Variables = () => {
/>
</StyledTableCell>
<StyledTableCell>
{moment(variable.updatedDate).format('MMMM Do, YYYY')}
{moment(variable.updatedDate).format('MMMM Do, YYYY HH:mm:ss')}
</StyledTableCell>
<StyledTableCell>
{moment(variable.createdDate).format('MMMM Do, YYYY')}
{moment(variable.createdDate).format('MMMM Do, YYYY HH:mm:ss')}
</StyledTableCell>
<StyledTableCell>
<IconButton title='Edit' color='primary' onClick={() => edit(variable)}>