Merge pull request #2636 from rkresha/dev

Extra doube-quote
This commit is contained in:
Milos Kozak 2020-05-10 22:34:34 +02:00 committed by GitHub
commit cc53aff3d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -340,13 +340,13 @@ public class DateUtil {
t = t / 60;
if (t != 1) unit = resourceHelper.gs(R.string.unit_hours);
if (t > 24) {
unit = resourceHelper.gs(R.string.unit_day) + "\"";
unit = resourceHelper.gs(R.string.unit_day);
t = t / 24;
if (t != 1) unit = resourceHelper.gs(R.string.unit_days) + "\"";
if (t != 1) unit = resourceHelper.gs(R.string.unit_days);
if (t > 28) {
unit = resourceHelper.gs(R.string.unit_week) + "\"";
unit = resourceHelper.gs(R.string.unit_week);
t = t / 7;
if (t != 1) unit = resourceHelper.gs(R.string.unit_weeks) + "\"";
if (t != 1) unit = resourceHelper.gs(R.string.unit_weeks);
}
}
}