Please open a ticket about this. It should be done automagically.

On Friday, 27 April 2012 15:03:56 UTC-5, Richard wrote:
>
> Solved : datetime.datetime.strptime(request.vars.test_date, 
> '%Y-%m-%d').date()
>
> On Fri, Apr 27, 2012 at 3:09 PM, Richard Vézina <
> [email protected]> wrote:
>
>> Hello,
>>
>> I get :  'str' object has no attribute 'year'
>>
>> Try to solve it like this without success :
>>
>> db[request.args(0)].test_date.default = 
>> datetime.date(*tuple(request.vars.test_date.split('-')))
>>
>> Then it ask for integer...
>>
>> Richard
>>
>
>
On Friday, 27 April 2012 15:03:56 UTC-5, Richard wrote:
>
> Solved : datetime.datetime.strptime(request.vars.test_date, 
> '%Y-%m-%d').date()
>
> On Fri, Apr 27, 2012 at 3:09 PM, Richard Vézina <
> [email protected]> wrote:
>
>> Hello,
>>
>> I get :  'str' object has no attribute 'year'
>>
>> Try to solve it like this without success :
>>
>> db[request.args(0)].test_date.default = 
>> datetime.date(*tuple(request.vars.test_date.split('-')))
>>
>> Then it ask for integer...
>>
>> Richard
>>
>
>
On Friday, 27 April 2012 15:03:56 UTC-5, Richard wrote:
>
> Solved : datetime.datetime.strptime(request.vars.test_date, 
> '%Y-%m-%d').date()
>
> On Fri, Apr 27, 2012 at 3:09 PM, Richard Vézina <
> [email protected]> wrote:
>
>> Hello,
>>
>> I get :  'str' object has no attribute 'year'
>>
>> Try to solve it like this without success :
>>
>> db[request.args(0)].test_date.default = 
>> datetime.date(*tuple(request.vars.test_date.split('-')))
>>
>> Then it ask for integer...
>>
>> Richard
>>
>
>
On Friday, 27 April 2012 15:03:56 UTC-5, Richard wrote:
>
> Solved : datetime.datetime.strptime(request.vars.test_date, 
> '%Y-%m-%d').date()
>
> On Fri, Apr 27, 2012 at 3:09 PM, Richard Vézina <
> [email protected]> wrote:
>
>> Hello,
>>
>> I get :  'str' object has no attribute 'year'
>>
>> Try to solve it like this without success :
>>
>> db[request.args(0)].test_date.default = 
>> datetime.date(*tuple(request.vars.test_date.split('-')))
>>
>> Then it ask for integer...
>>
>> Richard
>>
>
>

Reply via email to