Formatieren Sie UTC zu lokaler Zeitzone mit Pytz für Django
import pytz
book_obj = Book.objects.get(pk=1) # Replace query parameters according to your needs
my_timezone = pytz.timezone("Asia/Kolkata") # Replace Asia/Kolkata with your timezone
local_created_at = book_obj.created_at.astimezone(my_timezone)
Yucky Yak