You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
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??
Bill Freeman
unread,
Sep 25, 2012, 3:05:20 PM9/25/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
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?