django Datefield is taken as UTC even though I have set it to 'Asia/Kolkata' in postgresql but in DateTimeField is taken time 'Asia/Kolkata' why

后端 未结 0 800
一向
一向 2021-01-23 22:53

My Models

saleDate = models.DateField(auto_now_add=True) #this field taken UTC
saleTime = models.DateTimeField(auto_now_add=True) #this field tak         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题