match higher precision time in block page details

This commit is contained in:
Mononaut
2023-07-05 11:02:32 -04:00
parent 850752e0ea
commit cc695dc910
3 changed files with 4 additions and 2 deletions

View File

@@ -11,6 +11,8 @@ export class TimestampComponent implements OnChanges {
@Input() dateString: string;
@Input() customFormat: string;
@Input() hideTimeSince: boolean = false;
@Input() precision: number = 0;
@Input() minUnit: 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute' | 'second' = 'second';
seconds: number | undefined = undefined;