fix: use UTC for fromNow() (#3105)

This commit is contained in:
Vlad Stan
2025-04-17 10:05:05 +03:00
committed by GitHub
parent b48489ef32
commit d89bd7409d
6 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -449,8 +449,8 @@ window.WalletPageLogic = {
createdDate,
'YYYY-MM-DDTHH:mm:ss.SSSZ'
)
cleanInvoice.expireDateFrom = moment(expireDate).fromNow()
cleanInvoice.createdDateFrom = moment(createdDate).fromNow()
cleanInvoice.expireDateFrom = moment.utc(expireDate).fromNow()
cleanInvoice.createdDateFrom = moment.utc(createdDate).fromNow()
cleanInvoice.expired = false // TODO
}