refactor: ename UptimeFormatter.js to uptimeFormatter.js

This commit is contained in:
Hirzi
2024-09-14 09:41:25 +07:00
committed by GitHub
parent e6374da63d
commit 49470d690d

View File

@@ -10,4 +10,4 @@ module.exports = function uptimeFormatter(time) {
if (text.length > 0) text.push(`and ${seconds} seconds`)
else text.push(`${seconds} seconds`)
return text.join(", ").replace(", and", " and")
}
}