- Issue created by @Rhezios
Changes introduced in https://www.drupal.org/i/3512961 → causing an always false evaluation; therefore the closed_format will be never shown.
Update \Drupal\office_hours\OfficeHoursItemListFormatter::formatTimeSlots() to filter out empty time slots in $info['formatted_slots'] to prevent an always false evaluation on line 556:
$info['formatted_slots'][] = $item->formatTimeSlot($settings);
Evaluation:
case empty($info['formatted_slots']) && empty($info['comments']):
Active
1.27
Code - formatter