Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Blocktime format rounding
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Dec 19, 2016
1 parent 14a9942 commit 6efaec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/views/Status/components/Status/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default class Status extends Component {
#{ nodeStatus.blockNumber.toFormat() }
</div>
<div className={ styles.blockByline }>
{ moment().calendar(nodeStatus.blockTimestamp) }
{ moment(nodeStatus.blockTimestamp).calendar() }
</div>
</div>
<div className={ `${styles.col12} ${styles.padBottom}` }>
Expand Down

0 comments on commit 6efaec8

Please sign in to comment.