From a9acf61916520199494f1ccfd32836f9d88b35ee Mon Sep 17 00:00:00 2001 From: Minteck Date: Mon, 10 Jan 2022 21:36:59 +0100 Subject: Commit --- commands/info.js | 4 ++-- config/version.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/info.js b/commands/info.js index d6d25b0..d8335e4 100644 --- a/commands/info.js +++ b/commands/info.js @@ -26,8 +26,8 @@ function bytesToPretty(bytes) { function secondsToPretty(seconds) { if (seconds > 60) { if (seconds > 3600) { - if (seconds > 216000) { - return Math.floor(seconds / 216000) + " day" + (Math.floor(seconds / 216000) > 1 ? "s" : ""); + if (seconds > 86400) { + return Math.floor(seconds / 86400) + " day" + (Math.floor(seconds / 216000) > 1 ? "s" : ""); } else { return Math.floor(seconds / 3600) + " hour" + (Math.floor(seconds / 3600) > 1 ? "s" : ""); } diff --git a/config/version.txt b/config/version.txt index bcaffe1..7deb86f 100644 --- a/config/version.txt +++ b/config/version.txt @@ -1 +1 @@ -0.7.0 \ No newline at end of file +0.7.1 \ No newline at end of file -- cgit