diff options
author | Minteck <contact@minteck.org> | 2022-01-10 21:36:59 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-01-10 21:36:59 +0100 |
commit | a9acf61916520199494f1ccfd32836f9d88b35ee (patch) | |
tree | 1b8a1e267eaaa7af819640f1f8ee3926bb436894 | |
parent | 00f10bd80867313272697b665b3d79da345dc66a (diff) | |
download | ponyfind-a9acf61916520199494f1ccfd32836f9d88b35ee.tar.gz ponyfind-a9acf61916520199494f1ccfd32836f9d88b35ee.tar.bz2 ponyfind-a9acf61916520199494f1ccfd32836f9d88b35ee.zip |
Commit
-rw-r--r-- | commands/info.js | 4 | ||||
-rw-r--r-- | 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 |