diff --git a/OsmAnd-java/src/net/osmand/util/OpeningHoursParser.java b/OsmAnd-java/src/net/osmand/util/OpeningHoursParser.java index 5f08a8dab9..dc579ad683 100644 --- a/OsmAnd-java/src/net/osmand/util/OpeningHoursParser.java +++ b/OsmAnd-java/src/net/osmand/util/OpeningHoursParser.java @@ -254,14 +254,14 @@ public class OpeningHoursParser { return s.substring(0, s.length() - 2); } - public String toLocalStringNoMonths() { + public String toLocalString() { StringBuilder s = new StringBuilder(); if (rules.isEmpty()) { return ""; } for (OpeningHoursRule r : rules) { - s.append(r.toLocalRuleString()).append(";"); + s.append(r.toLocalRuleString()).append("; "); } return s.substring(0, s.length() - 2); diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java index f1b3822734..6661840567 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java @@ -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);