Browse Source

Update chart tooltip date format

master
meriadec 7 years ago
parent
commit
548ae0d229
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 2
      src/components/BalanceSummary/index.js
  2. 2
      src/components/base/Chart/Tooltip.js

2
src/components/BalanceSummary/index.js

@ -91,7 +91,7 @@ const BalanceSummary = ({
val={d.value}
/>
<Box ff="Open Sans|Regular" color="grey" fontSize={3} mt={2}>
{moment(d.date).format('L')}
{moment(d.date).format('LL')}
</Box>
</Fragment>
)

2
src/components/base/Chart/Tooltip.js

@ -69,7 +69,7 @@ const Tooltip = ({
/>
)}
<Box ff="Open Sans|Regular" color="grey" fontSize={3} mt={2}>
{moment(item.date).format('L')}
{moment(item.date).format('LL')}
</Box>
</Fragment>
)}

Loading…
Cancel
Save