Sunday, August 8, 2010

Django interactive shell shows invalid datetime

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

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment