mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 21:03:19 +03:00
added seconds format for log (#158)
tested with stream connect disconnect all good
This commit is contained in:
parent
d50b58eb09
commit
ad3552f683
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export default function LogTable({ logs, pageSize }: Props) {
|
|||
key: 'time',
|
||||
render: timestamp => {
|
||||
const dateObject = new Date(timestamp);
|
||||
return format(dateObject, 'p P');
|
||||
return format(dateObject, 'pp P');
|
||||
},
|
||||
sorter: (a, b) => new Date(a.time).getTime() - new Date(b.time).getTime(),
|
||||
sortDirections: ['descend', 'ascend'] as SortOrder[],
|
||||
|
|
Loading…
Reference in a new issue