79194320

Date: 2024-11-16 00:48:34
Score: 0.5
Natty:
Report link

When you store a date/time in Django, it is always converted to utc+0 time.

This appears to be intentional and may result in conversion from Django's time zone to the utc time set in the settings.

from django.utils import timezone

timezone.now() # utc +0 time
timezone.localtime(timezone.now()) # utc +{timzeon in settings} time
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: django.seolpyo.com