Sunday, August 30, 2020

wrong time in query

Hi Folks,
In my model one column is their called start which is datetime field and start is storing datetime by using django specific datetime field like:  Aug. 30, 2020, 7:44 p.m. 
But after ran one get query when I tried to access the date and time,I'm getting wrong time like: 2020-08-30 14:14:00+00:00

Can anyone tell me why I'm getting wrong time,although I selected TIME_ZONE = 'Asia/Kolkata'

Thank you

regards,
Soumen

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPUw6Wa3%3DzBdAud32AiC78ng9SVgTJcneXwtB0hLVD9YwFJ2AQ%40mail.gmail.com.

No comments:

Post a Comment