From 0c931573604a7ab3faeafeff9e709c3ad9631088 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 1 Aug 2019 12:15:05 +0800 Subject: [PATCH] add commas --- common/stats/session/utils.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/stats/session/utils.go b/common/stats/session/utils.go index 977947f..51a3c4d 100644 --- a/common/stats/session/utils.go +++ b/common/stats/session/utils.go @@ -20,15 +20,15 @@ func uptime() string { var y, m, d, h string if year != 0 { - y = fmt.Sprintf("%dY", year) + y = fmt.Sprintf("%dY,", year) } if month != 0 { - m = fmt.Sprintf("%dM", month) + m = fmt.Sprintf("%dM,", month) } if day != 0 { - d = fmt.Sprintf("%dd", day) + d = fmt.Sprintf("%dd,", day) } h = fmt.Sprintf("%dh%dm%ds", hour, min, sec)