{% load i18n %}
    {% for occurrence in occurrences %}
        {% ifchanged occurrence.start_time.day occurrence.start_time.month occurrence.start_time.year %}
        {% if not forloop.first %}</ul>{% endif %}
        <h3>{{ occurrence.start_time|date:"l, d F Y" }}</h3>
        <ul>
        {% endifchanged %}

        <li>{{ occurrence.start_time|date:"H:i" }} - {{ occurrence.title }}</li>

        {% if forloop.last %}
        </ul>
        {% endif %}
    {% empty %}
    <p>
        {% trans "There are no upcoming events." %}
    </p>
    {% endfor %}


Add template for {% show_agenda %} tag
Add template for {% show_agenda %} tag
