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

@ -51,7 +51,7 @@ const TransactionsList = ({ customer, data, loading, locale }) => {
value:
!R.isNil(timezone) &&
((customer.lastActive &&
formatDate(customer.lastActive, timezone, 'yyyy-MM-d')) ??
formatDate(customer.lastActive, timezone, 'yyyy-MM-dd')) ??
'')
},
{
@ -121,7 +121,7 @@ const TransactionsList = ({ customer, data, loading, locale }) => {
{
header: 'Date',
width: 100,
view: it => formatDate(it.created, timezone, 'yyyy-MM-d')
view: it => formatDate(it.created, timezone, 'yyyy-MM-dd')
},
{
header: 'Time (h:m:s)',