On 8/8/2010 3:19 PM, jai_python wrote: > Dear friends, > I am just wondering how comes django interactive shell shows > wrong datetime. I.e my system correct time (python shell) shows print > datetime.datetime.now() --> ``2010-08-09 00:44:33.439732`` and django > interactive shell shows wrong time print datetime.datetime.now()--> > ``2010-08-09 10:13:47.457335``. So almost 10 hours greater than the > current time. How comes its possible ? How can I solve this? > > Thanks for spending time to reading my issue...... > > Jayapal D > I'll guess that your time zone is ten hours away from Chicago. Django uses the zone from the settings.py file.,
regards Steve -- I'm no expert. "ex" == "has-been"; "spurt" == "drip under pressure" "expert" == "has-been drip under pressure". -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.