It may had been solve, I am under 1.99.4. When I have time I will test with 1.99.7 and trunk and report/open ticket if still there.
Thanks Richard On Sat, Apr 28, 2012 at 8:34 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > 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 < >> ml.richard.vez...@gmail.com> 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 < >> ml.richard.vez...@gmail.com> 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 < >> ml.richard.vez...@gmail.com> 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 < >> ml.richard.vez...@gmail.com> 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 >>> >> >>