Merge pull request #1096 from ubavic/remove-seconds-form-timestamps

fix: date break in transaction list
This commit is contained in:
Rafael Taranto 2022-02-14 10:35:23 +00:00 committed by GitHub
commit cf5534b310
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

@ -229,7 +229,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