diff options
Diffstat (limited to 'renderer')
-rw-r--r-- | renderer/renderer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/renderer/renderer.go b/renderer/renderer.go index 890006b..3eb0457 100644 --- a/renderer/renderer.go +++ b/renderer/renderer.go @@ -113,7 +113,7 @@ func TimeSince(t time.Time) string { return strconv.Itoa(int(mo)) + "mo" } - y := m / 12 + y := mo / 12 return strconv.Itoa(int(y)) + "y" } |