Show local time zone of visitor in more places

This commit is contained in:
Raphael Michel
2021-01-24 22:43:01 +01:00
parent a3ff3cda12
commit c2ba312bad
7 changed files with 28 additions and 19 deletions

View File

@@ -84,7 +84,7 @@
{{ e.daterange|default:e.get_date_range_display }}
{% if e.settings.show_times and not e.has_subevents %}
{% timezone e.tzname %}
<br><small class="text-muted">
<br><small class="text-muted" data-time="{{ e.date_from.isoformat }}" data-timezone="{{ e.tzname }}">
{{ 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" }}