django-clickhouse-backend
django-clickhouse-backend copied to clipboard
[Issue]
How i can add timezone to DateTime64Field ???
Just set USE_TZ = True in settings.py, which is the default. Then time will have UTC timezone when retrieved from database. You can change time to local timezone with django timezone utils.
from django.utils import timezone
timezone.localtime(time)