add alternative way to specify 24/7

This commit is contained in:
sonora 2016-07-05 01:54:24 +02:00
parent 341246becf
commit f3b9793212

View file

@ -333,7 +333,7 @@ public class PoiUIFilter implements SearchPoiTypeFilter, Comparable<PoiUIFilter>
}
}
if (allTime) {
if (!"24/7".equalsIgnoreCase(a.getOpeningHours())) {
if (!"24/7".equalsIgnoreCase(a.getOpeningHours()) && !"Mo-Su 00:00-24:00".equalsIgnoreCase(a.getOpeningHours()) {
return false;
}
}