[ZPT] rdb and strftime

Evan Simpson evan@4-am.com
Tue, 25 Jun 2002 17:41:23 -0500


Magnus Heino wrote:
> Why am i not allowed to strftime psycopg results in zpt?

If I didn't know the identifiers involved, I'd think that sentence had 
been partially encrypted :-)

How do you mean?  As in "python:rec.datefield.strftime('%Y')"?  Psycopg 
likes to return mxDateTimes rather than DateTimes, and that may the problem.

Cheers,

Evan @ 4-am