mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-12-27 17:09:48 +00:00
Fix TimeSince calculation
This commit is contained in:
parent
a1f49af1d9
commit
3280af21ed
@ -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 New Issue
Block a user