We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28a4f25 commit fa903efCopy full SHA for fa903ef
common/format.go
@@ -69,7 +69,7 @@ func (t PrettyAge) String() string {
69
result, prec := "", 0
70
71
for _, unit := range ageUnits {
72
- if diff > unit.Size {
+ if diff >= unit.Size {
73
result = fmt.Sprintf("%s%d%s", result, diff/unit.Size, unit.Symbol)
74
diff %= unit.Size
75
0 commit comments