From 65b97cbdc871f2e177f8ca5d352068a42a2335b2 Mon Sep 17 00:00:00 2001 From: Jason Date: Sat, 27 Jul 2019 15:27:32 +0800 Subject: [PATCH] stats format changed --- common/stats/session/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/stats/session/session.go b/common/stats/session/session.go index dc4b67c..76caa09 100644 --- a/common/stats/session/session.go +++ b/common/stats/session/session.go @@ -83,7 +83,7 @@ func (s *simpleSessionStater) Start() error { showTime := func() string { return time.Now().Format("2006-01-02 15:04:05") } - _, _ = fmt.Fprintf(w, "

Date: %s

", showTime()) + _, _ = fmt.Fprintf(w, "

%s

", showTime()) _, _ = fmt.Fprintf(w, "

Active sessions %d

", len(sessions)) tablePrint(w, sessions) _, _ = fmt.Fprintf(w, "

")