Update AmenityMenuBuilder.java
This commit is contained in:
parent
3eb7dd5165
commit
f3adf238d7
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