diff --git a/backend/src/api/explorer/channels.api.ts b/backend/src/api/explorer/channels.api.ts
index db6e92920..a52b0f28f 100644
--- a/backend/src/api/explorer/channels.api.ts
+++ b/backend/src/api/explorer/channels.api.ts
@@ -375,6 +375,7 @@ class ChannelsApi {
'transaction_vout': channel.transaction_vout,
'closing_transaction_id': channel.closing_transaction_id,
'closing_reason': channel.closing_reason,
+ 'closing_date': channel.closing_date,
'updated_at': channel.updated_at,
'created': channel.created,
'status': channel.status,
diff --git a/frontend/src/app/lightning/channel/channel.component.html b/frontend/src/app/lightning/channel/channel.component.html
index 2824b8dba..9a0c424fb 100644
--- a/frontend/src/app/lightning/channel/channel.component.html
+++ b/frontend/src/app/lightning/channel/channel.component.html
@@ -25,13 +25,17 @@
- Created |
+ Created |
|
-
- Last update |
+
+ Last update |
|
+
+ Closing date |
+ |
+
diff --git a/frontend/src/app/lightning/channels-list/channels-list.component.html b/frontend/src/app/lightning/channels-list/channels-list.component.html
index af87cefa4..a51e03ef8 100644
--- a/frontend/src/app/lightning/channels-list/channels-list.component.html
+++ b/frontend/src/app/lightning/channels-list/channels-list.component.html
@@ -35,7 +35,8 @@
Node Alias |
|
Status |
- Fee Rate |
+ Fee Rate |
+ Closing date |
Capacity |
Channel ID |
@@ -71,9 +72,12 @@
-
+ |
{{ channel.fee_rate }} ppm ({{ channel.fee_rate / 10000 | number }}%)
|
+
+
+ |
100000000; else smallchannel" [satoshis]="channel.capacity" [digitsInfo]="'1.2-2'" [noFiat]="true">
diff --git a/frontend/src/app/shared/components/timestamp/timestamp.component.html b/frontend/src/app/shared/components/timestamp/timestamp.component.html
index 769b292d4..69abce53f 100644
--- a/frontend/src/app/shared/components/timestamp/timestamp.component.html
+++ b/frontend/src/app/shared/components/timestamp/timestamp.component.html
@@ -1,4 +1,7 @@
-{{ seconds * 1000 | date: customFormat ?? 'yyyy-MM-dd HH:mm' }}
-
+-
+
+ {{ seconds * 1000 | date: customFormat ?? 'yyyy-MM-dd HH:mm' }}
+
+
diff --git a/frontend/src/app/shared/components/timestamp/timestamp.component.ts b/frontend/src/app/shared/components/timestamp/timestamp.component.ts
index dc577a185..120a5dfe4 100644
--- a/frontend/src/app/shared/components/timestamp/timestamp.component.ts
+++ b/frontend/src/app/shared/components/timestamp/timestamp.component.ts
@@ -11,15 +11,13 @@ export class TimestampComponent implements OnChanges {
@Input() dateString: string;
@Input() customFormat: string;
- seconds: number;
-
- constructor() { }
+ seconds: number | undefined = undefined;
ngOnChanges(): void {
if (this.unixTime) {
this.seconds = this.unixTime;
} else if (this.dateString) {
- this.seconds = new Date(this.dateString).getTime() / 1000
+ this.seconds = new Date(this.dateString).getTime() / 1000;
}
}
|