Fix Date display issue in UserList

This commit is contained in:
Patrick Jentsch 2021-09-13 16:35:09 +02:00
parent 4950a407af
commit 10483c1e45

View File

@ -50,7 +50,7 @@ class UserList extends RessourceList {
id_: user.id, id_: user.id,
username: user.username, username: user.username,
email: user.email, 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}; role: user.role.name};
} }
} }