[web2py] Re: problem when upgrade to 1.99.4
thank you very much! my fault. :(
[web2py] Re: problem when upgrade to 1.99.4
db.actividades.fecha.represent = lambda v, r: r.strftime('%d-%m-%Y') should be db.actividades.fecha.represent = lambda v, r: v and v.strftime('%d-%m- %Y') or '' else if you row.fecha==v==None, it cannot be represented using v.strftime. On Dec 18, 5:50 pm, Pepe Araya wrote: > sorry, is related
[web2py] Re: problem when upgrade to 1.99.4
sorry, is related with this: db.actividades.fecha.represent = lambda *v, r: v.strftime(*'%d-%m-%Y')