mirror of
https://github.com/pretix/pretix.git
synced 2026-05-11 16:13:59 +00:00
Use correct timezone for events in event list view
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{% extends "pretixpresale/organizers/base.html" %}
|
||||
{% load i18n %}
|
||||
{% load rich_text %}
|
||||
{% load tz %}
|
||||
{% load eventurl %}
|
||||
{% load urlreplace %}
|
||||
{% load thumb %}
|
||||
@@ -68,12 +69,14 @@
|
||||
<td>
|
||||
{{ e.daterange|default:e.get_date_range_display }}
|
||||
{% if e.settings.show_times %}
|
||||
<br><small class="text-muted">
|
||||
{{ e.date_from|date:"TIME_FORMAT" }}
|
||||
{% if e.settings.show_date_to and e.date_to and e.date_to.date == e.date_from.date %}
|
||||
– {{ e.date_to|date:"TIME_FORMAT" }}
|
||||
{% endif %}
|
||||
</small>
|
||||
{% timezone e.tzname %}
|
||||
<br><small class="text-muted">
|
||||
{{ e.date_from|date:"TIME_FORMAT" }}
|
||||
{% if e.settings.show_date_to and e.date_to and e.date_to.date == e.date_from.date %}
|
||||
– {{ e.date_to|date:"TIME_FORMAT" }}
|
||||
{% endif %}
|
||||
</small>
|
||||
{% endtimezone %}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user