{% spaceless %}
    {% if 1 == availabilities|length -%}
        {% set availability = availabilities|first %}
        
        {%- if availability.dayoftheweek is null -%}
            {{ availability.dateVisite|date('d/m/Y') }}
        {%- else -%}
            Tous les {{ availability.dayoftheweek|lower }}
        {%- endif %}
    {% endif %}
{% endspaceless %}
