fix: formatDate working with timezone code
This commit is contained in:
parent
0429563e42
commit
78a4c9f267
8 changed files with 17 additions and 25 deletions
|
|
@ -144,11 +144,7 @@ const Logs = () => {
|
|||
<TableRow key={idx} size="sm">
|
||||
<TableCell>
|
||||
{timezone &&
|
||||
formatDate(
|
||||
log.timestamp,
|
||||
timezone.dstOffset,
|
||||
'YYYY-MM-DD HH:mm'
|
||||
)}
|
||||
formatDate(log.timestamp, timezone, 'YYYY-MM-DD HH:mm')}
|
||||
</TableCell>
|
||||
<TableCell>{log.logLevel}</TableCell>
|
||||
<TableCell>{log.message}</TableCell>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue