When django reads the data back, does it reconvert it to your timezone? If so, why is it a problem that it is stored as UTC in the database?
On Tue, Sep 25, 2012 at 2:19 PM, puneet loya <puneetl...@gmail.com> wrote: > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.