Monday, September 5, 2011

Re: time part of datetime not saved

Just call it a hunch, but can you try [0:8] please..?


Sent from my BlackBerry® from Vodafone

-----Original Message-----
From: "het.oosten" <het.oosten@gmail.com>
Sender: django-users@googlegroups.com
Date: Mon, 5 Sep 2011 04:30:44
To: Django users<django-users@googlegroups.com>
Reply-To: django-users@googlegroups.com
Subject: Re: time part of datetime not saved

It is a python 2.4 workaround for using strptime. Without the '[0:6]'
I get this error:
TypeError: function takes at most 8 arguments (9 given)

--
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.

--
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