update stats format

This commit is contained in:
Jason
2019-07-31 16:24:57 +08:00
parent f2b20bfa8f
commit 3fcd6257ca
2 changed files with 3 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ func uptime() string {
year, month, day, hour, min, sec := diff(startTime, now)
var y, m, d, h string
if year != 0 {
y = fmt.Sprintf("%dY", year)
}