Browse Source

web-ui: Humanize the block time on the latest blocks view

scalafmt-draft
Alexis Hernandez 7 years ago
parent
commit
b1201c8132
  1. 2
      web-ui/src/app/components/latest-blocks/latest-blocks.component.html

2
web-ui/src/app/components/latest-blocks/latest-blocks.component.html

@ -30,7 +30,7 @@
<td>
<a routerLink="/blocks/{{item.hash}}">{{item.height}}</a>
</td>
<td>{{item.time * 1000 | date:'MMMM d, y, h:mm:ss a'}}</td>
<td>{{item.time * 1000 | amTimeAgo}}</td>
<td>{{item.transactions.length}}</td>
<td>{{item.difficulty}}</td>
<td>{{extractedBy(item) | translate}}</td>

Loading…
Cancel
Save