Fix time
This commit is contained in:
parent
5a73860d07
commit
82e99d92c8
1 changed files with 4 additions and 4 deletions
|
@ -1110,14 +1110,14 @@ public class MapContextMenuFragment extends BaseOsmAndFragment implements Downlo
|
|||
String openingHoursStr = "";
|
||||
if (openingHoursInfo.isOpened24_7()) {
|
||||
openingHoursStr = getString(R.string.shared_string_is_open_24_7);
|
||||
} else if (!Algorithms.isEmpty(openingHoursInfo.getOpeningTime())) {
|
||||
openingHoursStr = getString(R.string.opened_from) + " " + openingHoursInfo.getOpeningTime();
|
||||
} else if (!Algorithms.isEmpty(openingHoursInfo.getNearToOpeningTime())) {
|
||||
openingHoursStr = getString(R.string.will_be_opened_at) + " " + openingHoursInfo.getNearToOpeningTime();
|
||||
} else if (!Algorithms.isEmpty(openingHoursInfo.getClosingTime())) {
|
||||
openingHoursStr = getString(R.string.opened_till) + " " + openingHoursInfo.getClosingTime();
|
||||
} else if (!Algorithms.isEmpty(openingHoursInfo.getOpeningTime())) {
|
||||
openingHoursStr = getString(R.string.opened_from) + " " + openingHoursInfo.getOpeningTime();
|
||||
} else if (!Algorithms.isEmpty(openingHoursInfo.getNearToClosingTime())) {
|
||||
openingHoursStr = getString(R.string.will_be_closed_at) + " " + openingHoursInfo.getNearToClosingTime();
|
||||
} else if (!Algorithms.isEmpty(openingHoursInfo.getClosingTime())) {
|
||||
openingHoursStr = getString(R.string.opened_till) + " " + openingHoursInfo.getClosingTime();
|
||||
} else if (!Algorithms.isEmpty(openingHoursInfo.getOpeningDay())) {
|
||||
openingHoursStr = getString(R.string.will_be_opened_on) + " " + openingHoursInfo.getOpeningDay() + ".";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue