fix date component
This commit is contained in:
parent
d5fbd5c428
commit
43fa225645
|
@ -29,7 +29,7 @@ const formatTradeDateTime = (timestamp: BN | string) => {
|
|||
if (typeof timestamp === 'string') {
|
||||
return timestamp
|
||||
} else {
|
||||
return (timestamp.toNumber() * 1000).toString()
|
||||
return timestamp.toNumber() * 1000
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue