feat: remove all instances of moment usage

This commit is contained in:
Sérgio Salgado 2021-11-23 16:09:15 +00:00
parent 7d6fb17158
commit 973040f409
29 changed files with 252 additions and 193 deletions

View file

@ -52,7 +52,7 @@ const TransactionsList = ({ customer, data, loading, locale }) => {
!R.isNil(timezone) &&
ifNotNull(
customer.lastActive,
formatDate(customer.lastActive, timezone, 'YYYY-MM-D')
formatDate(customer.lastActive, timezone, 'yyyy-MM-d')
)
},
{
@ -122,7 +122,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-d')
},
{
header: 'Time (h:m:s)',