Re: sqlite datetime issue with django

2012-10-03 Thread puneet loya
Thank you :) Will check that :) On Wed, Sep 26, 2012 at 12:35 AM, Bill Freeman wrote: > 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 wrote: > > H

Re: sqlite datetime issue with django

2012-09-25 Thread Bill Freeman
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 wrote: > Hi, > > I m having problems with sqlite insertion. > > When i enter datetime object using django into

sqlite datetime issue with django

2012-09-25 Thread puneet loya
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 suggesti