Andreas Jung schrieb:

...
And I would not
use it much because you loose all type information and the
ability to sort accordingly and calculate with the values.

Better format them just for output - which would be in
python code.


It depends on the usecase..if you don't have to deal with different
date format it is handy to convert it on the RDBMS level..otherwise
you have to write something like

<span tal:content="python: row.mydate.strftime(fmtstring)" />


No, you would do that in your formatter class or at least in
the python script preparing the values for the template.

Regards
Tino :-)
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to