From 996162fff64be958025e7efd98ac05d52038ab16 Mon Sep 17 00:00:00 2001 From: khanhas Date: Sun, 9 Dec 2018 19:07:25 +0700 Subject: [PATCH] fix: zero padding for time --- src/cmd/apply.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/apply.go b/src/cmd/apply.go index 970ab9dbd8..08e74e7e2b 100644 --- a/src/cmd/apply.go +++ b/src/cmd/apply.go @@ -98,5 +98,5 @@ func UpdateCSS() { ) date := time.Now() - utils.PrintSuccess(fmt.Sprintf("user.css is updated at %d:%d:%d", date.Hour(), date.Minute(), date.Second())) + utils.PrintSuccess(fmt.Sprintf("user.css is updated at %02d:%02d:%02d", date.Hour(), date.Minute(), date.Second())) }