mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 02:39:04 +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',
|
||||
render: (value: TableType['timestamp']) => {
|
||||
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)),
|
||||
},
|
||||
@ -129,6 +129,9 @@ const TraceTable = ({ getSpansAggregate }: TraceProps) => {
|
||||
})}
|
||||
size="middle"
|
||||
rowKey={'timestamp'}
|
||||
style={{
|
||||
cursor: 'pointer',
|
||||
}}
|
||||
pagination={{
|
||||
current: spansAggregate.currentPage,
|
||||
pageSize: spansAggregate.pageSize,
|
||||
|
Loading…
x
Reference in New Issue
Block a user