diff --git a/ChatServiceApp/funcs.py b/ChatServiceApp/funcs.py index ad85861..14baba2 100644 --- a/ChatServiceApp/funcs.py +++ b/ChatServiceApp/funcs.py @@ -290,6 +290,9 @@ def get_chat_page_content_html(request, receiver_id=None): from AuthApp.models import User from django.utils import timezone + msg = f'now {timezone.now()}' + print(msg) + msgs = [] try: cur_receiver = User.objects.get(id=receiver_id) diff --git a/templates/widgets/w_message.html b/templates/widgets/w_message.html index 9c3a250..5fd117b 100644 --- a/templates/widgets/w_message.html +++ b/templates/widgets/w_message.html @@ -1,6 +1,6 @@ {% load static %} {% load tt_chat %} -{#{% load tz_detect %}#} +{% load tz %}