I'm trying to internationalize my date representations using:
db.my_table.date_field.represent = lambda f: f.strftime(T('%Y/%m/%d'))

But unfortunatelly I'm getting this error:
TypeError: strftime() argument 1 must be string or read-only buffer, not lazyT

How can I do this?

--
Vinicius Assef.

Reply via email to