Unify uptime formatting (#2483)

This commit is contained in:
shamoon 2023-12-15 14:08:37 -08:00 committed by GitHub
parent 24e25e8953
commit e768b1c83a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 36 additions and 62 deletions

View file

@ -11,7 +11,13 @@
"percent": "{{value, percent}}",
"number": "{{value, number}}",
"ms": "{{value, number}}",
"date": "{{value, date}}"
"date": "{{value, date}}",
"uptime": "{{value, uptime}}",
"months": "mo",
"days": "d",
"hours": "h",
"minutes": "m",
"seconds": "s"
},
"widget": {
"missing_type": "Missing Widget Type: {{type}}",
@ -40,11 +46,7 @@
"load": "Load",
"temp": "TEMP",
"max": "Max",
"uptime": "UP",
"months": "mo",
"days": "d",
"hours": "h",
"minutes": "m"
"uptime": "UP"
},
"unifi": {
"users": "Users",