mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-10-06 02:53:12 -04:00
Merge branch 'fix-relative-time-formatting' into 'master'
Fix formatting for "Updated x time ago" (fixes #1064) Closes #1064 See merge request !540
This commit is contained in:
commit
93d5fc171e
1 file changed
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user