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
+1 -1
View File
@@ -148,7 +148,7 @@ window.PaymentsPageLogic = {
if (p.extra && p.extra.tag) {
p.tag = p.extra.tag
}
p.timeFrom = moment(p.created_at).fromNow()
p.timeFrom = moment.utc(p.created_at).fromNow()
p.outgoing = p.amount < 0
p.amount =
new Intl.NumberFormat(window.LOCALE).format(p.amount / 1000) +