Just to make sure I understand can you post an example of the code you
are using?

On Feb 25, 6:57 pm, nick name <[email protected]> wrote:
> I am using the xml serializer to print datetime values. I need to put
> it out in .isoformat() e.g. 2011-12-31T10:20:30 (possibly with a
> second fraction, but not necessarily). However, I've been unable to
> find how to do that:
>
> db.field.represent = lambda x: x.isoformat() doesn't make a difference
> (according to my readling of sqlhtml.py, dal.py it should)
>
> neither does the format in an IS_DATETIME(format=...) validator
>
> How do I override the xml representation of a field?

Reply via email to