Merge pull request #1096 from ubavic/remove-seconds-form-timestamps
fix: date break in transaction list
This commit is contained in:
commit
cf5534b310
2 changed files with 2 additions and 2 deletions
|
|
@ -146,7 +146,7 @@ const Transactions = ({ id }) => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: 'Date',
|
header: 'Date',
|
||||||
view: it => formatDate(it.created, timezone, 'yyyy-MM-dd'),
|
view: it => formatDate(it.created, timezone, 'yyyy‑MM‑dd'),
|
||||||
textAlign: 'left',
|
textAlign: 'left',
|
||||||
size: 'sm',
|
size: 'sm',
|
||||||
width: 140
|
width: 140
|
||||||
|
|
|
||||||
|
|
@ -229,7 +229,7 @@ const Transactions = () => {
|
||||||
{
|
{
|
||||||
header: 'Date',
|
header: 'Date',
|
||||||
view: it =>
|
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',
|
textAlign: 'right',
|
||||||
size: 'sm',
|
size: 'sm',
|
||||||
width: 195
|
width: 195
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue