Use config timezone in all displayed times (#326)
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M8 5.5a2.5 2.5 0 100 5 2.5 2.5 0 000-5zM4 8a4 4 0 118 0 4 4 0 01-8 0z"></path></svg>
|
||||
<div class="infos">
|
||||
<div class="title"><%= title %></div>
|
||||
<div class="date"><%= f.date(new Date(date), {dateStyle:"short"}) %></div>
|
||||
<div class="date"><%= f.date(new Date(date), {dateStyle:"short", timeZone:config.timezone?.name}) %></div>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
Reference in New Issue
Block a user