From aaba513bec03892c1f63af19b8a4791aa723c7b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Schneider?= <56670304+soerenschneider@users.noreply.github.com> Date: Thu, 13 Jul 2023 17:41:13 +0100 Subject: [PATCH] refactor: change format --- pkg/certstorage/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/certstorage/storage.go b/pkg/certstorage/storage.go index 0bd3f08..7623d60 100644 --- a/pkg/certstorage/storage.go +++ b/pkg/certstorage/storage.go @@ -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) {