Nodes per country list component

This commit is contained in:
nymkappa
2022-07-16 15:56:36 +02:00
parent fc5fd244d0
commit 376484a937
9 changed files with 172 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
‎{{ seconds * 1000 | date:'yyyy-MM-dd HH:mm' }}
‎{{ seconds * 1000 | date: customFormat ?? 'yyyy-MM-dd HH:mm' }}
<div class="lg-inline">
<i class="symbol">(<app-time-since [time]="seconds" [fastRender]="true"></app-time-since>)</i>
</div>

View File

@@ -9,6 +9,7 @@ import { ChangeDetectionStrategy, Component, Input, OnChanges } from '@angular/c
export class TimestampComponent implements OnChanges {
@Input() unixTime: number;
@Input() dateString: string;
@Input() customFormat: string;
seconds: number;