Use config timezone in all displayed times (#326)

This commit is contained in:
Nixinova
2021-05-27 04:19:24 +12:00
committed by GitHub
parent 67712cd07a
commit 19552e2dc5
8 changed files with 11 additions and 11 deletions

View File

@@ -163,7 +163,7 @@
<% } %>
<% if (plugins.activity.timestamps) { %>
<div class="timestamp">
<%= f.date(timestamp, {timeStyle:"short", dateStyle:"short"}) %>
<%= f.date(timestamp, {timeStyle:"short", dateStyle:"short", timeZone:config.timezone?.name}) %>
</div>
<% } %>
</section>
@@ -173,4 +173,4 @@
</section>
</div>
</section>
<% } %>
<% } %>