Fix shit
This commit is contained in:
parent
31ee6be7f6
commit
b1d763d425
|
@ -13,9 +13,9 @@ module.exports = {
|
|||
const seconds = parseInt(totalSeconds % 60);
|
||||
|
||||
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");
|
||||
const hourstring = hours + (hours === 1 ? "hour" : "hours");
|
||||
const minutetring = minutes + (minutes === 1 ? "minute" : "minutes");
|
||||
const secondstring = seconds + (seconds === 1 ? "second" : "seconds");
|
||||
|
||||
return `${daystring}**, **${hourstring}**, **${minutetring}**, **${secondstring}`;
|
||||
}
|
||||
|
|
Reference in New Issue