Are you using timezone for saving time
which is exported from django.utils or the python datetime module?
On Sun, Aug 30, 2020, 23:34 Soumen Khatua <soumenkhatua258@gmail.com> wrote:
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:00Can anyone tell me why I'm getting wrong time,although I selected TIME_ZONE = 'Asia/Kolkata'Thank youregards,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.
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/CAOecAnyNk_CMX%2BQLbVs6H%2B9Wj2XHNTzZEGWRYybXJAJ5QUBKJQ%40mail.gmail.com.
No comments:
Post a Comment