From a5b85e5143c54e8e0ba1ff1e1fb849969bb6e08a Mon Sep 17 00:00:00 2001 From: Skillet Date: Mon, 8 May 2023 14:50:48 -0400 Subject: [PATCH] Update db-log-addOn.js --- db-log-addOn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db-log-addOn.js b/db-log-addOn.js index 5adcb2a..97df9f7 100644 --- a/db-log-addOn.js +++ b/db-log-addOn.js @@ -263,7 +263,7 @@ export default class DBLogPlayerTime extends DBLog { 'select lastName as playername, discordID, steamID, ' + 'sum(time_to_sec(timediff(ifnull(endTime,now()), startTime))/3600) as seedTime ' + 'from DBLog_PlayerTimes join DBLog_SteamUsers DLSU on DBLog_PlayerTimes.player = DLSU.steamID ' + - 'where startTime between (now() - INTERVAL 1 MONTH) and now() and server != 3 and serverState=1 ' + + 'where startTime between (now() - INTERVAL 1 WEEK) and now() and server != 3 and serverState=1 ' + 'group by player ' + 'order by seedTime desc', { type: QueryTypes.SELECT }