Skip to content

Commit

Permalink
refactor: change format
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenschneider committed Jul 13, 2023
1 parent 525f80c commit aaba513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/certstorage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func niceTimeLeft(duration time.Duration) string {

hours := duration / time.Hour

return fmt.Sprintf("%dd%dh", days, hours)
return fmt.Sprintf("%d days %d hours", days, hours)
}

func (cert *AcmeCertificate) NeedsRenewal() (bool, error) {
Expand Down

0 comments on commit aaba513

Please sign in to comment.