Compare commits

..

No commits in common. "24a079624ce32844155febe30e39b31ec4e24349" and "d2ab62efdc4a529d3ee59d403849e2b826ccf931" have entirely different histories.

3 changed files with 6 additions and 6 deletions

View File

@ -121,8 +121,8 @@ export default function ServerDetailClient({
<div className="text-xs"> <div className="text-xs">
{" "} {" "}
{uptime / 86400 >= 1 {uptime / 86400 >= 1
? `${Math.floor(uptime / 86400)} ${t("Days")} ${Math.floor((uptime % 86400) / 3600)} ${t("Hours")}` ? `${(uptime / 86400).toFixed(0)} ${t("Days")}`
: `${Math.floor(uptime / 3600)} ${t("Hours")}`} : `${(uptime / 3600).toFixed(0)} ${t("Hours")}`}
</div> </div>
</section> </section>
</CardContent> </CardContent>

BIN
bun.lockb

Binary file not shown.

View File

@ -30,10 +30,10 @@
"@types/d3-geo": "^3.1.0", "@types/d3-geo": "^3.1.0",
"@types/luxon": "^3.4.2", "@types/luxon": "^3.4.2",
"babel-plugin-react-compiler": "^19.0.0-beta-e552027-20250112", "babel-plugin-react-compiler": "^19.0.0-beta-e552027-20250112",
"caniuse-lite": "^1.0.30001705", "caniuse-lite": "^1.0.30001703",
"class-variance-authority": "^0.7.1", "class-variance-authority": "^0.7.1",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"cmdk": "^1.1.1", "cmdk": "^1.0.4",
"country-flag-icons": "^1.5.18", "country-flag-icons": "^1.5.18",
"crypto-js": "^4.2.0", "crypto-js": "^4.2.0",
"d3-geo": "^3.1.1", "d3-geo": "^3.1.1",
@ -62,12 +62,12 @@
"devDependencies": { "devDependencies": {
"@biomejs/biome": "1.9.4", "@biomejs/biome": "1.9.4",
"@next/bundle-analyzer": "^15.2.2", "@next/bundle-analyzer": "^15.2.2",
"@tailwindcss/postcss": "^4.0.14", "@tailwindcss/postcss": "^4.0.13",
"@types/node": "^22.13.10", "@types/node": "^22.13.10",
"@types/react": "^19.0.10", "@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4", "@types/react-dom": "^19.0.4",
"postcss": "^8.5.3", "postcss": "^8.5.3",
"tailwindcss": "^4.0.14", "tailwindcss": "^4.0.13",
"typescript": "^5.8.2", "typescript": "^5.8.2",
"vercel": "^39.4.2" "vercel": "^39.4.2"
}, },