Update dependencies

This commit is contained in:
Andrey Nering
2018-04-28 15:35:15 -03:00
parent dbc79b4311
commit 0afb453fed
149 changed files with 9126 additions and 2210 deletions

View File

@@ -66,7 +66,7 @@ func dateAgo(date interface{}) string {
t = time.Unix(int64(date), 0)
}
// Drop resolution to seconds
duration := time.Since(t) / time.Second * time.Second
duration := time.Since(t).Round(time.Second)
return duration.String()
}