0.12.20 timezone in chat messages

This commit is contained in:
SDE
2024-02-09 16:57:27 +03:00
parent eddb3a1858
commit a25f30eda7
3 changed files with 21 additions and 2 deletions

View File

@@ -288,6 +288,9 @@ def send_msg(data):
def get_chat_page_content_html(request, receiver_id=None):
from AuthApp.models import User
from django.utils import timezone
now = timezone.now()
msgs = []
try: