mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 06:29:02 +08:00
bug: onClick cursor is added and display date is converted to minutes and 12hr format
This commit is contained in:
parent
05c79b7119
commit
92cf617a53
@ -43,7 +43,7 @@ const TraceTable = ({ getSpansAggregate }: TraceProps) => {
|
|||||||
key: 'timestamp',
|
key: 'timestamp',
|
||||||
render: (value: TableType['timestamp']) => {
|
render: (value: TableType['timestamp']) => {
|
||||||
const day = dayjs(value);
|
const day = dayjs(value);
|
||||||
return <div>{day.format('DD/MM/YYYY HH:MM:ss A')}</div>;
|
return <div>{day.format('DD/MM/YYYY hh:mm:ss A')}</div>;
|
||||||
},
|
},
|
||||||
sorter: (a, b) => dayjs(a.timestamp).diff(dayjs(b.timestamp)),
|
sorter: (a, b) => dayjs(a.timestamp).diff(dayjs(b.timestamp)),
|
||||||
},
|
},
|
||||||
@ -129,6 +129,9 @@ const TraceTable = ({ getSpansAggregate }: TraceProps) => {
|
|||||||
})}
|
})}
|
||||||
size="middle"
|
size="middle"
|
||||||
rowKey={'timestamp'}
|
rowKey={'timestamp'}
|
||||||
|
style={{
|
||||||
|
cursor: 'pointer',
|
||||||
|
}}
|
||||||
pagination={{
|
pagination={{
|
||||||
current: spansAggregate.currentPage,
|
current: spansAggregate.currentPage,
|
||||||
pageSize: spansAggregate.pageSize,
|
pageSize: spansAggregate.pageSize,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user