From 55b78827fe607b11d9d24182681e02508d18d2dc Mon Sep 17 00:00:00 2001 From: pichalite Date: Wed, 13 Jan 2016 15:59:44 -0800 Subject: [PATCH] add lastonlineISO to user --- src/user.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/user.js b/src/user.js index 7a9213a963..f60d03ffd6 100644 --- a/src/user.js +++ b/src/user.js @@ -116,6 +116,7 @@ var async = require('async'), user.administrator = results.isAdmin[index]; user.banned = parseInt(user.banned, 10) === 1; user['email:confirmed'] = parseInt(user['email:confirmed'], 10) === 1; + user.lastonlineISO = utils.toISOString(user.lastonline); } }); plugins.fireHook('filter:userlist.get', {users: results.userData, uid: uid}, next);