no float for the duration, just an integer

This commit is contained in:
Ulf Gebhardt 2022-03-04 12:30:24 +01:00
parent 0094ee3bbc
commit cd6b2f18f8
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -23,7 +23,7 @@ export class Transaction {
transaction.decay,
transaction.decayStart,
transaction.balanceDate,
(transaction.balanceDate.getTime() - transaction.decayStart.getTime()) / 1000,
Math.round((transaction.balanceDate.getTime() - transaction.decayStart.getTime()) / 1000),
)
}
this.memo = transaction.memo