[Zope3-checkins] CVS: Products3/NewsSite - newsindex.pt:1.4

Volker Bachschneider vbachs@dzug.org
Wed, 26 Mar 2003 14:15:47 -0500


Update of /cvs-repository/Products3/NewsSite
In directory cvs.zope.org:/tmp/cvs-serv26157

Modified Files:
	newsindex.pt 
Log Message:
changed: Representation of effective and expires


=== Products3/NewsSite/newsindex.pt 1.3 => 1.4 ===
--- Products3/NewsSite/newsindex.pt:1.3	Wed Mar 26 12:49:51 2003
+++ Products3/NewsSite/newsindex.pt	Wed Mar 26 14:15:16 2003
@@ -8,7 +8,7 @@
   <ul>
     <span tal:repeat="item view/listPublicNewsItems">
 		<li>
-				<span tal:content="item/obj/effective"/>
+				<span tal:content="python: item['obj'].effective.strftime('%Y-%m-%d')"/>
 				&nbsp;&nbsp;&nbsp;&nbsp;
 				<span tal:content="item/obj/title"/>
 				&nbsp;&nbsp;&nbsp;&nbsp;