add 2 common ways to specify 24/7

This commit is contained in:
sonora 2016-07-05 02:22:12 +02:00
parent ddfdbdccc1
commit 8876c5efed

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()) && !"Su-Mo 00:00-24:00".equalsIgnoreCase(a.getOpeningHours())) {
return false;
}
}