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
@@ -450,7 +450,7 @@ window.AdminPageLogic = {
.catch(LNbits.utils.notifyApiError)
},
formatDate(date) {
return moment(date * 1000).fromNow()
return moment.utc(date * 1000).fromNow()
},
sendTestEmail() {
LNbits.api