Log message for revision 30218:
  eye-friendly datetime representation
  

Changed:
  U   Zope/trunk/lib/python/Products/ZCatalog/ProgressHandler.py

-=-
Modified: Zope/trunk/lib/python/Products/ZCatalog/ProgressHandler.py
===================================================================
--- Zope/trunk/lib/python/Products/ZCatalog/ProgressHandler.py  2005-04-28 
23:50:46 UTC (rev 30217)
+++ Zope/trunk/lib/python/Products/ZCatalog/ProgressHandler.py  2005-04-29 
10:01:19 UTC (rev 30218)
@@ -81,7 +81,7 @@
                 seconds_to_go  = seconds_so_far / current * (self._max - 
current)
                 self.output('%d/%d (%.2f%%) Estimated termination: %s' % \
                 (current, self._max, (100.0 * current / self._max), 
-                 DateTime(time.time() + seconds_to_go)))
+                 DateTime(time.time() + seconds_to_go).strftime('%Y/%m/%d 
%H:%M:%Sh')))
 
     def output(self, text):
         print >>self.fp, '%s: %s' % (self._ident, text)

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to