From 493ee1f8c2c1c0ebbc42ea9b1d958d56bb107718 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Tue, 6 Jan 2026 08:37:28 +0100 Subject: [PATCH] users() fix date time parsing --- lib/users.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/users.js b/lib/users.js index 95c48d8..d277765 100644 --- a/lib/users.js +++ b/lib/users.js @@ -68,7 +68,8 @@ function parseUsersLinux(lines, phase) { tty: l[1], date: timePos === 4 ? parseDate(l[2], l[3]) : l[2], time: l[timePos], - ip: l && l.length > timePos + 1 ? l[timePos + 1].replace(/\(/g, '').replace(/\)/g, '') : '' + ip: l && l.length > timePos + 1 ? l[timePos + 1].replace(/\(/g, '').replace(/\)/g, '') : '', + command: '' }); } } else {