Monday, January 27, 2014

Re: time problem in django 1.6

I am not using 1.6 yet. However, you will likely get the best help if you can describe more exactly your symptoms. What does "giving a wrong time" actually look like? Are the fields scrambled? Is there a time offset to the result? Or something else?? Please be specific on what you are finding and why you think it is wrong.

hth

                   - Tom

On 2014-01-27, at 12:21 AM, Hossain Aboutalebi <hossain.aboutalebi@gmail.com> wrote:

I am one of the new user in django 1.6 but one thing very bad I have noticed in this version of django is that time.strftime("%H:%M:%S") does not working and giving a wrong time in my view . Is there any alternating approach for getting a right time in django view or not ?

Note : if you type print(time.strftime("%H:%M:%S")) in python 3 you will see a right time but in django 1.6 it is not true

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fba065bb-0490-4a42-b85f-2e3fef254132%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


No comments:

Post a Comment