mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-30 09:16:36 +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
|
//A several amount of years
|
||||||
else {
|
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);
|
return years + res.getString(years > 1 ? R.string.date_years : R.string.date_year);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user