Times are now rendered using the browsers time zone (#2438)

This commit is contained in:
Ahmad Farhat
2021-01-17 14:48:51 -05:00
committed by GitHub
parent fed6ca4d03
commit 4bf0811136
14 changed files with 20 additions and 28 deletions

View File

@ -35,7 +35,7 @@
</div>
<div class="small text-muted">
<% if room.sessions > 0 %>
<i><%= t("room.last_session", session: recording_date(room.last_session)) %></i>
<i><%= t("room.last_session", session: view_date(room.last_session)).html_safe %></i>
<% else %>
<i><%= t("room.no_sessions") %></i>
<% end %>