Fix TimeSince calculation

This commit is contained in:
r 2019-12-20 18:31:55 +00:00
parent a1f49af1d9
commit 3280af21ed

View File

@ -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"
}