web/views/iprogress.py
changeset 3460 e4843535db25
parent 3451 6b46d73823f5
child 4211 eac4b23a42ff
--- a/web/views/iprogress.py	Thu Sep 24 00:23:32 2009 +0200
+++ b/web/views/iprogress.py	Thu Sep 24 00:24:21 2009 +0200
@@ -122,10 +122,10 @@
     def build_eta_date_cell(self, entity):
         """``eta_date`` column cell renderer"""
         if entity.finished():
-            return self.format_date(entity.completion_date())
-        formated_date = self.format_date(entity.initial_prevision_date())
+            return self._cw.format_date(entity.completion_date())
+        formated_date = self._cw.format_date(entity.initial_prevision_date())
         if entity.in_progress():
-            eta_date = self.format_date(entity.eta_date())
+            eta_date = self._cw.format_date(entity.eta_date())
             _ = self._cw._
             if formated_date:
                 formated_date += u' (%s %s)' % (_('expected:'), eta_date)