Replace close time with year

This commit is contained in:
Austin Chen 2022-01-14 18:34:54 -05:00
parent 10e6255a53
commit 77e6ea5a6b

View File

@ -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>
</> </>
)} )}