show wallet transaction dates

This commit is contained in:
woodser 2022-08-31 13:12:02 -04:00
parent 24a8ecea2b
commit dbc7ff265a
3 changed files with 3 additions and 3 deletions

View file

@ -174,7 +174,9 @@ class TransactionsListItem {
}
}
this.date = new Date(0); // TODO: convert height to date
// get tx date/time
Long timestamp = tx.getBlock() == null ? System.currentTimeMillis() : tx.getBlock().getTimestamp() * 1000l;
this.date = new Date(timestamp);
dateString = DisplayUtils.formatDateTime(date);
isDustAttackTx = received && valueSentToMe.value < ignoreDustThreshold;