mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-12-30 15:38:59 +00:00
Fix issue
This commit is contained in:
parent
1c8cefb1e5
commit
488ac397fa
@ -285,7 +285,7 @@ public class Utilities {
|
||||
|
||||
//A several amount of years
|
||||
else {
|
||||
int years = (int) Math.floor(31536000);
|
||||
int years = (int) Math.floor(time / 31536000);
|
||||
return years + res.getString(years > 1 ? R.string.date_years : R.string.date_year);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user