From 10483c1e4548ebec29d9222cdacd2b8e0483437e Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Mon, 13 Sep 2021 16:35:09 +0200
Subject: [PATCH] Fix Date display issue in UserList
---
app/static/js/nopaque/RessourceLists/UserList.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/static/js/nopaque/RessourceLists/UserList.js b/app/static/js/nopaque/RessourceLists/UserList.js
index f22f63c0..60c6ad02 100644
--- a/app/static/js/nopaque/RessourceLists/UserList.js
+++ b/app/static/js/nopaque/RessourceLists/UserList.js
@@ -50,7 +50,7 @@ class UserList extends RessourceList {
id_: user.id,
username: user.username,
email: user.email,
- last_seen: new Date(user.last_seen * 1000).toLocaleString("en-US"),
+ last_seen: new Date(user.last_seen).toLocaleString("en-US"),
role: user.role.name};
}
}