Replace close time with year
This commit is contained in:
parent
10e6255a53
commit
77e6ea5a6b
|
@ -151,7 +151,7 @@ export function ContractDetails(props: { contract: Contract }) {
|
||||||
<div className="">•</div>
|
<div className="">•</div>
|
||||||
<div className="whitespace-nowrap">
|
<div className="whitespace-nowrap">
|
||||||
{closeTime > Date.now() ? 'Closes' : 'Closed'}{' '}
|
{closeTime > Date.now() ? 'Closes' : 'Closed'}{' '}
|
||||||
{dayjs(closeTime).format('MMM D, h:mma')}
|
{dayjs(closeTime).format('MMM D, YYYY')}
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user