From eddb3a18582c9f3dfc65a503ac0d7dc8771583ff Mon Sep 17 00:00:00 2001 From: SDE Date: Fri, 9 Feb 2024 15:12:10 +0300 Subject: [PATCH] 0.12.19 timezone in chat messages --- templates/widgets/w_message.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/widgets/w_message.html b/templates/widgets/w_message.html index d5244aa..b8955e2 100644 --- a/templates/widgets/w_message.html +++ b/templates/widgets/w_message.html @@ -1,5 +1,6 @@ {% load static %} {% load tt_chat %} +{% load tz %}
@@ -34,7 +35,7 @@ {% endif %}
- {% if msg %}{{ msg.modifiedDT }}{% else %}{{ ticket.modifiedDT }}{% endif %} + {% if msg %}{{ msg.modifiedDT|localtime }}{% else %}{{ ticket.modifiedDT|localtime }}{% endif %}