fix: date parsing and formatting

This commit is contained in:
Sérgio Salgado 2021-11-26 01:37:25 +00:00
parent 1cb715332a
commit bb189decae
7 changed files with 38 additions and 21 deletions

View file

@ -142,7 +142,7 @@ const Logs = () => {
<TableRow key={idx} size="sm">
<TableCell>
{timezone &&
formatDate(log.timestamp, timezone, 'YYYY-MM-DD HH:mm')}
formatDate(log.timestamp, timezone, 'yyyy-MM-dd HH:mm')}
</TableCell>
<TableCell>{log.logLevel}</TableCell>
<TableCell>{log.message}</TableCell>