From adf68403aa51d09baa7a698f63c18da2c12dc090 Mon Sep 17 00:00:00 2001 From: Macmod Date: Tue, 10 Sep 2024 15:11:14 -0300 Subject: [PATCH] Fixing time formatting. --- pkg/formats/time.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/formats/time.go b/pkg/formats/time.go index 7998daf..65b1f1a 100644 --- a/pkg/formats/time.go +++ b/pkg/formats/time.go @@ -21,7 +21,7 @@ func GetTimeDistString(diff time.Duration) string { distString = fmt.Sprintf("(%d minutes ago)", minutesAgo) } } else { - distString = fmt.Sprintf("(%d days ago)", hoursAgo) + distString = fmt.Sprintf("(%d hours ago)", hoursAgo) } } else if daysAgo == 1 { distString = "(yesterday)"