fix: date break

This commit is contained in:
Nikola Ubavic 2022-02-08 15:21:03 +01:00
parent e1751c8576
commit 64254c18ce
2 changed files with 2 additions and 2 deletions

View file

@ -146,7 +146,7 @@ const Transactions = ({ id }) => {
},
{
header: 'Date',
view: it => formatDate(it.created, timezone, 'yyyy-MM-dd'),
view: it => formatDate(it.created, timezone, 'yyyyMMdd'),
textAlign: 'left',
size: 'sm',
width: 140

View file

@ -228,7 +228,7 @@ const Transactions = () => {
{
header: 'Date',
view: it =>
timezone && formatDate(it.created, timezone, 'yyyy-MM-dd HH:mm:ss'),
timezone && formatDate(it.created, timezone, 'yyyy-MM-dd HH:mm'),
textAlign: 'right',
size: 'sm',
width: 195