💄 优化 server-status 主题

This commit is contained in:
naiba
2023-11-07 22:15:13 +08:00
parent e7c22968b6
commit 1c00cc8e3b
13 changed files with 24 additions and 65 deletions

View File

@@ -227,7 +227,7 @@
secondToDate(s) {
var d = Math.floor(s / 3600 / 24);
if (d > 0) {
return d + " {{tr "Day"}}"
return d + ' {{tr "Day"}}'
}
var h = Math.floor(s / 3600 % 24);
var m = Math.floor(s / 60 % 60);