It's my fault :(
{{=db.contracts.date_start.represent(row.date_start)}} returns me all
values in a correct form in conformity with table field
representation: db.contracts.date_start.represent = lambda
v:v.strftime('%d.%m.%Y').

Thanks for your help Ross and Anthony!

Could you please give me a piece of advice which option is preferable
to use:
{{=db.contracts.date_start.represent(row.date_start)}}
{{=row.date_start.strftime("%d.%m.%Y")}} ???

And how to deal with input fields in my forms?


On 14 фев, 17:41, Anthony <abasta...@gmail.com> wrote:
> On Tuesday, February 14, 2012 8:18:46 AM UTC-5, cyber wrote:
>
> > No way! It doesn't work.
>
> That should work. What happens when you try it?

Reply via email to