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