[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - contents.py:1.20
Guido van Rossum
guido@python.org
Thu, 5 Jun 2003 16:56:18 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv31300
Modified Files:
contents.py
Log Message:
Use a different formatter for Created and Modified times, showing time
as well as date. (This reveals that the formatting is in UTC rather
than in local time, but surely the fix for that is in an unrelated
piece of code.)
=== Zope3/src/zope/app/browser/container/contents.py 1.19 => 1.20 ===
--- Zope3/src/zope/app/browser/container/contents.py:1.19 Thu May 29 14:15:55 2003
+++ Zope3/src/zope/app/browser/container/contents.py Thu Jun 5 16:56:17 2003
@@ -51,7 +51,7 @@
if title:
info['title'] = title
- formatter = self.request.locale.getDateFormatter('medium')
+ formatter = self.request.locale.getDateTimeFormatter('short')
created = dc.created
if created is not None:
info['created'] = formatter.format(created)