This will require updating the transaction history UI to make use of the new API with the confirmation_time type.
See the code in the TransactionHistory fragment of the Summer of Bitcoin wallet for an idea of how to make this work. Note that we should use the extension function defined on the ConfirmationTime type.
The extension function is
fun ConfirmationTime.timestampToString(): String {
val calendar = Calendar.getInstance(Locale.ENGLISH)
calendar.timeInMillis = this.timestamp * 1000
return DateFormat.format("MMMM d yyyy HH:mm", calendar).toString()
}
This will require updating the transaction history UI to make use of the new API with the
confirmation_time
type.See the code in the
TransactionHistory
fragment of the Summer of Bitcoin wallet for an idea of how to make this work. Note that we should use the extension function defined on theConfirmationTime
type.The extension function is