Merge pull request #4579 from mempool/knorrium/add_seconds_to_block_list
Add seconds to block timestamp in the mining pool view and blocks list
This commit is contained in:
commit
2e5bb000ab
@ -46,7 +46,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="timestamp" *ngIf="!widget" [ngClass]="{'widget': widget, 'legacy': !isMempoolModule}">
|
<td class="timestamp" *ngIf="!widget" [ngClass]="{'widget': widget, 'legacy': !isMempoolModule}">
|
||||||
‎{{ block.timestamp * 1000 | date:'yyyy-MM-dd HH:mm' }}
|
‎{{ block.timestamp * 1000 | date:'yyyy-MM-dd HH:mm:ss' }}
|
||||||
</td>
|
</td>
|
||||||
<td *ngIf="auditAvailable" class="health text-right" [ngClass]="{'widget': widget, 'legacy': !isMempoolModule}">
|
<td *ngIf="auditAvailable" class="health text-right" [ngClass]="{'widget': widget, 'legacy': !isMempoolModule}">
|
||||||
<a
|
<a
|
||||||
|
@ -224,7 +224,7 @@
|
|||||||
<a [routerLink]="['/block' | relativeUrl, block.id]">{{ block.height }}</a>
|
<a [routerLink]="['/block' | relativeUrl, block.id]">{{ block.height }}</a>
|
||||||
</td>
|
</td>
|
||||||
<td class="timestamp">
|
<td class="timestamp">
|
||||||
‎{{ block.timestamp * 1000 | date:'yyyy-MM-dd HH:mm' }}
|
‎{{ block.timestamp * 1000 | date:'yyyy-MM-dd HH:mm:ss' }}
|
||||||
</td>
|
</td>
|
||||||
<td class="mined">
|
<td class="mined">
|
||||||
<app-time kind="since" [time]="block.timestamp" [fastRender]="true"></app-time>
|
<app-time kind="since" [time]="block.timestamp" [fastRender]="true"></app-time>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user