forked from gergely/calendar-social
Display event timestamps in the current user’s time zone
This commit is contained in:
@@ -119,8 +119,7 @@
|
||||
<span class="day-num">{{ day.day }}</span>
|
||||
{% for event in calendar.day_events(day, user=current_user) %}
|
||||
<div class="event">
|
||||
{{ event.start_time_tz.strftime('%H:%M') }}–{{ event.end_time_tz.strftime('%H:%M') }}
|
||||
({{ event.time_zone }})
|
||||
{{ event.start_time_for_user(current_user).strftime('%H:%M') }}–{{ event.end_time_for_user(current_user).strftime('%H:%M') }}
|
||||
{{ event.title }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user