Added usage of localized day names. Closes #2043.

This commit is contained in:
GaidamakUA 2016-02-12 17:51:21 +02:00
parent 1b73c25a59
commit 850f56904f

View file

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