Revert "Fix uptimes returning with everything in days"

This reverts commit 88ac2d4ab0.
This commit is contained in:
IDeletedSystem64 2022-03-29 12:41:49 -05:00
parent 570edf6da5
commit 31ee6be7f6

View file

@ -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}`;
}