sqlite datetime issue with django
Hi,
I m having problems with sqlite insertion.
When i enter datetime object using django into sqlite, sqlite is converting the datetime to UTC and storing it. Hence the datetime inserted in the sqlite db is incorrect.
My timezone in UTC+05:30 and the datetime inserted is in UTC.
Any suggestions??
-- You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/98E6x3lnvtwJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home