[Zope3-checkins] CVS: Products3/NewsSite/NewsItem - info.pt:1.5

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


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

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


=== Products3/NewsSite/NewsItem/info.pt 1.4 => 1.5 ===
--- Products3/NewsSite/NewsItem/info.pt:1.4	Wed Mar 26 13:41:54 2003
+++ Products3/NewsSite/NewsItem/info.pt	Wed Mar 26 14:15:17 2003
@@ -9,8 +9,8 @@
         <p> <em tal:content="context/lead">News Message</em></p>
         <p> <pre tal:content="context/newsbody">News Message</pre></p>
         <p>
-	Effective:&nbsp;<span tal:content="context/effective">News Message</span>&nbsp;
-	Expires:&nbsp;<span tal:content="context/expires">News Message</span>&nbsp;	
+	Effective:&nbsp;<span tal:content="python: context.effective.strftime('%Y-%m-%d')">News Message</span>&nbsp;
+	Expires:&nbsp;<span tal:content="python: context.expires.strftime('%Y-%m-%d')">News Message</span>&nbsp;	
 	</p>
 </div> 
 </body>