mirror of
https://github.com/pretix/pretix.git
synced 2026-08-10 10:47:00 +00:00
Show end time in subevent list (Z#23237612)
This commit is contained in:
@@ -19,6 +19,12 @@
|
||||
<span class="sr-only">{% trans "Time of day" %}</span>
|
||||
<time datetime="{{ subev.date_from.isoformat }}">{{ subev.date_from|date:"TIME_FORMAT" }}</time>
|
||||
</span>
|
||||
{% if subev.event.settings.show_date_to and subev.date_to %}
|
||||
<span data-time="{{ subev.date_to.isoformat }}" data-timezone="{{ event.timezone }}" data-time-short>
|
||||
<span aria-hidden="true">–</span><span class="sr-only">{% trans "until" context "timerange" %}</span>
|
||||
<time datetime="{{ subev.date_to.time.isoformat }}">{{ subev.date_to|date:"TIME_FORMAT" }}</time>
|
||||
</span>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</p>
|
||||
<p class="col-md-3 col-xs-6">
|
||||
|
||||
Reference in New Issue
Block a user