Skip to content

Commit a7b4ae7

Browse files
[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>
1 parent e75c831 commit a7b4ae7

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

packages/ui/src/ui-component/table/FlowListTable.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,9 @@ export const FlowListTable = ({ data, images, isLoading, filterFunction, updateF
248248
</Box>
249249
)}
250250
</StyledTableCell>
251-
<StyledTableCell key='3'>{moment(row.updatedDate).format('MMMM Do, YYYY')}</StyledTableCell>
251+
<StyledTableCell key='3'>
252+
{moment(row.updatedDate).format('MMMM Do, YYYY HH:mm:ss')}
253+
</StyledTableCell>
252254
<StyledTableCell key='4'>
253255
<Stack
254256
direction={{ xs: 'column', sm: 'row' }}

packages/ui/src/views/credentials/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,10 +352,10 @@ const Credentials = () => {
352352
</Box>
353353
</StyledTableCell>
354354
<StyledTableCell>
355-
{moment(credential.updatedDate).format('MMMM Do, YYYY')}
355+
{moment(credential.updatedDate).format('MMMM Do, YYYY HH:mm:ss')}
356356
</StyledTableCell>
357357
<StyledTableCell>
358-
{moment(credential.createdDate).format('MMMM Do, YYYY')}
358+
{moment(credential.createdDate).format('MMMM Do, YYYY HH:mm:ss')}
359359
</StyledTableCell>
360360
<StyledTableCell>
361361
<IconButton title='Edit' color='primary' onClick={() => edit(credential)}>

packages/ui/src/views/variables/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,10 +340,10 @@ const Variables = () => {
340340
/>
341341
</StyledTableCell>
342342
<StyledTableCell>
343-
{moment(variable.updatedDate).format('MMMM Do, YYYY')}
343+
{moment(variable.updatedDate).format('MMMM Do, YYYY HH:mm:ss')}
344344
</StyledTableCell>
345345
<StyledTableCell>
346-
{moment(variable.createdDate).format('MMMM Do, YYYY')}
346+
{moment(variable.createdDate).format('MMMM Do, YYYY HH:mm:ss')}
347347
</StyledTableCell>
348348
<StyledTableCell>
349349
<IconButton title='Edit' color='primary' onClick={() => edit(variable)}>

0 commit comments

Comments
 (0)