Skip to content

Commit

Permalink
fix: zero padding for time
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhas committed Dec 9, 2018
1 parent 7931766 commit 996162f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
}

0 comments on commit 996162f

Please sign in to comment.