From 31ee6be7f6999f3f199ee633cf60510393bbcaa8 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Tue, 29 Mar 2022 12:41:49 -0500 Subject: [PATCH] Revert "Fix uptimes returning with everything in days" This reverts commit 88ac2d4ab0bb014b17a65258550fa8f8cb575912. --- commands/info.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/info.js b/commands/info.js index 4ae2ae4..8de64ff 100644 --- a/commands/info.js +++ b/commands/info.js @@ -12,10 +12,10 @@ module.exports = { const minutes = parseInt((totalSeconds % 3600) / 60); const seconds = parseInt(totalSeconds % 60); - const daystring = days + (days === 1 ? " day" : " days"); - const hourstring = hours + (hours === 1 ? " hour" : " hours"); - const minutetring = minutes + (minutes === 1 ? " minute" : " minutes"); - const secondstring = seconds + (seconds === 1 ? " second" : " seconds"); + const daystring = days + (days === 1 ? "day" : "days"); + const hourstring = hours + (hours === 1 ? "day" : "days"); + const minutetring = minutes + (minutes === 1 ? "day" : "days"); + const secondstring = seconds + (seconds === 1 ? "day" : "days"); return `${daystring}**, **${hourstring}**, **${minutetring}**, **${secondstring}`; }