From 912a5dab275fb04adbe85bed119fd58cb40fc34e Mon Sep 17 00:00:00 2001 From: softsimon Date: Sun, 9 Aug 2020 10:44:01 +0700 Subject: [PATCH] Add proper timestamp to transaction pages. --- .../bisq-transaction/bisq-transaction.component.html | 10 +++++++++- .../components/transaction/transaction.component.html | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/bisq/bisq-transaction/bisq-transaction.component.html b/frontend/src/app/bisq/bisq-transaction/bisq-transaction.component.html index 355a94f2b..7da741274 100644 --- a/frontend/src/app/bisq/bisq-transaction/bisq-transaction.component.html +++ b/frontend/src/app/bisq/bisq-transaction/bisq-transaction.component.html @@ -20,11 +20,19 @@
+ + + + diff --git a/frontend/src/app/components/transaction/transaction.component.html b/frontend/src/app/components/transaction/transaction.component.html index bf673e261..646f25a3b 100644 --- a/frontend/src/app/components/transaction/transaction.component.html +++ b/frontend/src/app/components/transaction/transaction.component.html @@ -38,11 +38,19 @@
Timestamp + {{ bisqTx.time | date:'yyyy-MM-dd HH:mm' }} +
+ ( ago) +
+
Included in block {{ bisqTx.blockHeight }} - ( ago)
+ + + +
Timestamp + {{ tx.status.block_time * 1000 | date:'yyyy-MM-dd HH:mm' }} +
+ ( ago) +
+
Included in block {{ tx.status.block_height }} - ( ago)