Fix formatting for "Updated x time ago" (fixes #1064)
This commit is contained in:
parent
eabec87a4c
commit
31473c4395
@ -531,9 +531,9 @@ public final class Utils {
|
||||
} else if (weeks < 1) {
|
||||
return res.getQuantityString(R.plurals.details_last_update_days, (int) days, days);
|
||||
} else if (months < 1) {
|
||||
return res.getQuantityString(R.plurals.details_last_update_months, (int) months, months);
|
||||
} else if (years < 1) {
|
||||
return res.getQuantityString(R.plurals.details_last_update_weeks, (int) weeks, weeks);
|
||||
} else if (years < 1) {
|
||||
return res.getQuantityString(R.plurals.details_last_update_months, (int) months, months);
|
||||
} else {
|
||||
return res.getQuantityString(R.plurals.details_last_update_years, (int) years, years);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user