Browse Source

web-ui: application of explorerDateTime pipe

prometheus-integration
Mario Mejia 7 years ago
committed by Alexis Hernandez
parent
commit
9174175ef1
  1. 2
      web-ui/src/app/components/address-details/address-details.component.html
  2. 4
      web-ui/src/app/components/block-details/block-details.component.html
  3. 2
      web-ui/src/app/components/masternode-details/masternode-details.component.html
  4. 2
      web-ui/src/app/components/transaction-details/transaction-details.component.html

2
web-ui/src/app/components/address-details/address-details.component.html

@ -65,7 +65,7 @@
<td>
<a routerLink="/blocks/{{item.blockhash}}">{{item.blockhash | slice:0:15}}...</a>
</td>
<td>{{item.time * 1000 | date:'MMMM d, y, h:mm:ss a'}}</td>
<td>{{item.time * 1000 | explorerDatetime}}</td>
<td>{{item.received >= item.sent ? '+' : ''}}{{item.received - item.sent}} {{'label.coinName' | translate}}</td>
<td>{{item.size}} bytes</td>
</tr>

4
web-ui/src/app/components/block-details/block-details.component.html

@ -64,11 +64,11 @@
</tr>
<tr>
<td>{{'label.blocktime' | translate}}</td>
<td>{{blockDetails.block.time * 1000 | date:'MMMM d, y, h:mm:ss a'}}</td>
<td>{{blockDetails.block.time * 1000 | explorerDatetime}}</td>
</tr>
<tr>
<td>{{'label.medianTime' | translate}}</td>
<td>{{blockDetails.block.medianTime * 1000 | date:'MMMM d, y, h:mm:ss a'}}</td>
<td>{{blockDetails.block.medianTime * 1000 | explorerDatetime}}</td>
</tr>
<tr>
<td></td>

2
web-ui/src/app/components/masternode-details/masternode-details.component.html

@ -16,7 +16,7 @@
</tr>
<tr>
<td>{{'label.lastSeen' | translate}}</td>
<td>{{masternode.lastSeen * 1000 | date:'MMMM d, y, h:mm:ss a'}}</td>
<td>{{masternode.lastSeen * 1000 | explorerDatetime}}</td>
</tr>
<!-- TODO: Display status when the WATCHDOG_EXPIRED bug is fixed.
<tr>

2
web-ui/src/app/components/transaction-details/transaction-details.component.html

@ -30,7 +30,7 @@
</tr>
<tr>
<td>{{'label.blocktime' | translate}}</td>
<td>{{transaction.blocktime * 1000 | date:'MMMM d, y, h:mm:ss a'}}</td>
<td>{{transaction.blocktime * 1000 | explorerDatetime}}</td>
</tr>
<tr>
<td>{{'label.fee' | translate}}</td>

Loading…
Cancel
Save