mirror of
https://git.freesoftwareextremist.com/bloat
synced 2024-12-23 01:10:44 +00:00
Fix TimeSince calculation
This commit is contained in:
parent
a1f49af1d9
commit
3280af21ed
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue