Added usage of localized day names. Closes #2043.
This commit is contained in:
parent
1b73c25a59
commit
850f56904f
1 changed files with 1 additions and 0 deletions
|
@ -247,6 +247,7 @@ public class AmenityMenuBuilder extends MenuBuilder {
|
|||
|
||||
OpeningHoursParser.OpeningHours rs = OpeningHoursParser.parseOpenedHours(amenity.getOpeningHours());
|
||||
if (rs != null) {
|
||||
vl = rs.toLocalStringNoMonths();
|
||||
Calendar inst = Calendar.getInstance();
|
||||
inst.setTimeInMillis(System.currentTimeMillis());
|
||||
boolean opened = rs.isOpenedForTime(inst);
|
||||
|
|
Loading…
Reference in a new issue