Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-08-30 00:04:45 +02:00
commit 98c6b1e655
2 changed files with 3 additions and 3 deletions

View file

@ -254,7 +254,7 @@ public class OpeningHoursParser {
return s.substring(0, s.length() - 2);
}
public String toLocalStringNoMonths() {
public String toLocalString() {
StringBuilder s = new StringBuilder();
if (rules.isEmpty()) {
return "";

View file

@ -248,7 +248,7 @@ public class AmenityMenuBuilder extends MenuBuilder {
OpeningHoursParser.OpeningHours rs = OpeningHoursParser.parseOpenedHours(amenity.getOpeningHours());
if (rs != null) {
vl = rs.toLocalStringNoMonths();
vl = rs.toLocalString();
Calendar inst = Calendar.getInstance();
inst.setTimeInMillis(System.currentTimeMillis());
boolean opened = rs.isOpenedForTime(inst);