From 9bc931bcf71b481d40ee5321b05eecb8cfdec81d Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Sat, 13 Aug 2016 10:55:47 +0300 Subject: [PATCH] Fix #2940 --- OsmAnd-java/src/net/osmand/util/OpeningHoursParser.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OsmAnd-java/src/net/osmand/util/OpeningHoursParser.java b/OsmAnd-java/src/net/osmand/util/OpeningHoursParser.java index 0ea1fdf232..1514f5f02a 100644 --- a/OsmAnd-java/src/net/osmand/util/OpeningHoursParser.java +++ b/OsmAnd-java/src/net/osmand/util/OpeningHoursParser.java @@ -154,18 +154,18 @@ public class OpeningHoursParser { for (OpeningHoursRule r : rules) { if (r.containsPreviousDay(cal) && r.containsMonth(cal)) { if (r.isOpenedForTime(cal, true)) { - ruleOpen = r.toRuleString(true); + ruleOpen = r.toLocalRuleString(); } else { - ruleClosed = r.toRuleString(true); + ruleClosed = r.toLocalRuleString(); } } } for (OpeningHoursRule r : rules) { if (r.containsDay(cal) && r.containsMonth(cal)) { if (r.isOpenedForTime(cal, false)) { - ruleOpen = r.toRuleString(true); + ruleOpen = r.toLocalRuleString(); } else { - ruleClosed = r.toRuleString(true); + ruleClosed = r.toLocalRuleString(); } } }