Skip to content

Commit 1aaa7f9

Browse files
Merge pull request #4227 from RedisInsight/fe/feature/RI-6072-fix-datetime-format-in-rdi-statistics
RI-6072 fixed datetime format in rdi statistics page
2 parents b7c6dc5 + a5951ce commit 1aaa7f9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

redisinsight/ui/src/pages/rdi/statistics/data-streams/DataStreams.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import React from 'react'
33

44
import { IDataStreams } from 'uiSrc/slices/interfaces'
55
import { formatLongName } from 'uiSrc/utils'
6+
import { FormatedDate } from 'uiSrc/components'
67
import Accordion from '../components/accordion'
78
import Panel from '../components/panel'
89
import Table from '../components/table'
@@ -103,6 +104,9 @@ const DataStreams = ({ data, loading, onRefresh, onRefreshClicked, onChangeAutoR
103104
{
104105
name: 'Last arrival',
105106
field: 'lastArrival',
107+
render: (dateStr) => (
108+
<FormatedDate date={dateStr} />
109+
),
106110
sortable: true,
107111
footer: '',
108112
}

0 commit comments

Comments
 (0)