Skip to content

Commit 996162f

Browse files
committed
fix: zero padding for time
1 parent 7931766 commit 996162f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/apply.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,5 @@ func UpdateCSS() {
9898
)
9999

100100
date := time.Now()
101-
utils.PrintSuccess(fmt.Sprintf("user.css is updated at %d:%d:%d", date.Hour(), date.Minute(), date.Second()))
101+
utils.PrintSuccess(fmt.Sprintf("user.css is updated at %02d:%02d:%02d", date.Hour(), date.Minute(), date.Second()))
102102
}

0 commit comments

Comments
 (0)