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

@ -158,14 +158,14 @@ const Accounting = () => {
width: 150,
size: 'sm',
textAlign: 'right',
view: it => formatDate(it.created, timezone, 'YYYY-MM-DD')
view: it => formatDate(it.created, timezone, 'yyyy-MM-dd')
},
{
header: 'Time',
width: 150,
size: 'sm',
textAlign: 'right',
view: it => formatDate(it.created, timezone, 'YYYY-MM-DD')
view: it => formatDate(it.created, timezone, 'yyyy-MM-dd')
}
]