Skip to content

Commit

Permalink
Fixing time formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Macmod committed Sep 10, 2024
1 parent c2be893 commit adf6840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/formats/time.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit adf6840

Please sign in to comment.