mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-23 08:23:12 +09:00
Fix Web UI not displaying date for last seen
This commit is contained in:
1 parent
04852196ad
commit
259d18eb30
1 file changed
+1
-1
@@ -33,7 +33,7 @@ export function formatLastSeen(user, instanceId = undefined) {
|
|||||||
if (lastSeen === undefined) {
|
if (lastSeen === undefined) {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
return new Date(lastSeen).toLocaleTimeString();
|
return new Date(lastSeen).toLocaleString();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function sortLastSeen(userA, userB, instanceIdA = undefined, instanceIdB = undefined) {
|
export function sortLastSeen(userA, userB, instanceIdA = undefined, instanceIdB = undefined) {
|
||||||
|
|||||||
Reference in new issue
Block a user