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());
|
||||
if (rs != null) {
|
||||
vl = rs.toLocalString();
|
||||
if (!preferredLang.equals("en")) {
|
||||
vl = vl.replaceAll("off", view.getContext().getString(R.string.day_off_label));
|
||||
}
|
||||
Calendar inst = Calendar.getInstance();
|
||||
inst.setTimeInMillis(System.currentTimeMillis());
|
||||
boolean opened = rs.isOpenedForTime(inst);
|
||||
|
|
Loading…
Reference in a new issue