0.12.24 timezone in chat messages
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{% load static %}
|
||||
|
||||
{% load tz %}
|
||||
|
||||
{#{% include "widgets/w_file.html" %}#}
|
||||
{% if not messages and ticket %}
|
||||
@@ -8,7 +8,9 @@
|
||||
{% for msg in messages %}
|
||||
{% include "widgets/w_message.html" %}
|
||||
{% if forloop.first %}
|
||||
<span style="display: none" class="date_n_time_last_message" data-modifiedDT="{{ msg.modifiedDT|date:"d.m.Y H:i:s:u" }}"></span>
|
||||
{% timezone user_tz %}
|
||||
<span style="display: none" class="date_n_time_last_message" data-modifiedDT="{{ msg.modifiedDT|date:"d.m.Y H:i:s:u" }}"></span>
|
||||
{% endtimezone %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user