Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-08-13 14:49:43 +02:00
commit e53a785725

View file

@ -154,18 +154,18 @@ public class OpeningHoursParser {
for (OpeningHoursRule r : rules) { for (OpeningHoursRule r : rules) {
if (r.containsPreviousDay(cal) && r.containsMonth(cal)) { if (r.containsPreviousDay(cal) && r.containsMonth(cal)) {
if (r.isOpenedForTime(cal, true)) { if (r.isOpenedForTime(cal, true)) {
ruleOpen = r.toRuleString(true); ruleOpen = r.toLocalRuleString();
} else { } else {
ruleClosed = r.toRuleString(true); ruleClosed = r.toLocalRuleString();
} }
} }
} }
for (OpeningHoursRule r : rules) { for (OpeningHoursRule r : rules) {
if (r.containsDay(cal) && r.containsMonth(cal)) { if (r.containsDay(cal) && r.containsMonth(cal)) {
if (r.isOpenedForTime(cal, false)) { if (r.isOpenedForTime(cal, false)) {
ruleOpen = r.toRuleString(true); ruleOpen = r.toLocalRuleString();
} else { } else {
ruleClosed = r.toRuleString(true); ruleClosed = r.toLocalRuleString();
} }
} }
} }