0.12.24 timezone in chat messages

This commit is contained in:
SDE
2024-02-09 20:33:04 +03:00
parent a3ba6bc783
commit 3971a8ee23
10 changed files with 56 additions and 17 deletions

View File

@@ -1,5 +1,8 @@
{% load static %}
{% load i18n %}
{% load tz %}
<div class="container-message-req-sprt" onclick="openTicket({{ ticket.id }})">
<div class="message-sprt-inf">
<div>
@@ -10,8 +13,9 @@
{# <img>#}
<span id="modified_date">
{# 10.02.2023#}
{{ ticket.modifiedDT|date:"d.m.Y" }}
{% timezone user_tz %}
{{ ticket.modifiedDT|date:"d.m.Y" }}
{% endtimezone %}
</span>
</div>