Merge pull request #4939 from osmandapp/PaulsBranch
Update AmenityMenuBuilder.java
This commit is contained in:
commit
df380a26f6
1 changed files with 0 additions and 3 deletions
|
@ -381,9 +381,6 @@ public class AmenityMenuBuilder extends MenuBuilder {
|
||||||
OpeningHoursParser.OpeningHours rs = OpeningHoursParser.parseOpenedHours(amenity.getOpeningHours());
|
OpeningHoursParser.OpeningHours rs = OpeningHoursParser.parseOpenedHours(amenity.getOpeningHours());
|
||||||
if (rs != null) {
|
if (rs != null) {
|
||||||
vl = rs.toLocalString();
|
vl = rs.toLocalString();
|
||||||
if (!preferredLang.equals("en")) {
|
|
||||||
vl = vl.replaceAll("off", view.getContext().getString(R.string.day_off_label));
|
|
||||||
}
|
|
||||||
Calendar inst = Calendar.getInstance();
|
Calendar inst = Calendar.getInstance();
|
||||||
inst.setTimeInMillis(System.currentTimeMillis());
|
inst.setTimeInMillis(System.currentTimeMillis());
|
||||||
boolean opened = rs.isOpenedForTime(inst);
|
boolean opened = rs.isOpenedForTime(inst);
|
||||||
|
|
Loading…
Reference in a new issue