17 Nov
2003
17 Nov
'03
7:09 p.m.
Dragos Chirila wrote at 2003-11-17 16:57 +0200:
Try this:
<span tal:define="now python:here.ZopeTime"> <b tal:replace="now"/> </span>
It might even be better to use "now python:here.ZopeTime()" instead of "now python:here.ZopeTime". "ZopeTime" is a method. When you bind the method to "now", it is called each time "now" is rendered. This is at least an unnecessary overhead. It may also give you different results in the same request (as the time progresses). -- Dieter