fix: change date instances of single-digit days to double-digit

This commit is contained in:
Sérgio Salgado 2021-11-26 16:13:04 +00:00
parent bb189decae
commit 88ed187176
2 changed files with 3 additions and 3 deletions

View file

@ -44,7 +44,7 @@ const CustomersList = ({ data, locale, onClick, loading }) => {
header: 'Last active',
width: 137,
view: it =>
(it.lastActive && format('yyyy-MM-d', new Date(it.lastActive))) ?? ''
(it.lastActive && format('yyyy-MM-dd', new Date(it.lastActive))) ?? ''
},
{
header: 'Last transaction',