Index: main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py	(revision 7252)
+++ main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py	(revision 7254)
@@ -490,10 +490,4 @@
         return ''
 
-    def formatDatetime(self,datetimeobj):
-        if isinstance(datetimeobj, datetime):
-            return datetimeobj.strftime("%Y-%m-%d %H:%M:%S")
-        else:
-            return None
-
 class AcceptanceFeePaymentAddPage(grok.View):
     """ Page to add an online payment ticket
@@ -889,10 +883,4 @@
         return
 
-    def formatDatetime(self,datetimeobj):
-        if isinstance(datetimeobj, datetime):
-            return datetimeobj.strftime("%Y-%m-%d %H:%M:%S")
-        else:
-            return None
-
     def unremovable(self, ticket):
         usertype = getattr(self.request.principal, 'user_type', None)
Index: main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantdisplaypage.pt
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantdisplaypage.pt	(revision 7252)
+++ main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantdisplaypage.pt	(revision 7254)
@@ -59,6 +59,6 @@
       <td> <a tal:attributes="href value/__name__">
       <span tal:content="value/p_id">PID</span></a></td>
-      <td tal:content="python: view.formatDatetime(value.creation_date)">CREATION DATE</td>
-      <td tal:content="python: view.formatDatetime(value.payment_date)">PAYMENT DATE</td>
+      <td tal:content="python: layout.formatDatetime(value.creation_date)">CREATION DATE</td>
+      <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td>
       <td tal:content ="value/category">CATEGORY</td>
       <td tal:content ="value/p_item">ITEM</td>
Index: main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicanteditpage.pt
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicanteditpage.pt	(revision 7252)
+++ main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicanteditpage.pt	(revision 7254)
@@ -127,6 +127,6 @@
         <td> <a tal:attributes="href cl/__name__">
         <span tal:content="cl/p_id">PID</span></a></td>
-        <td tal:content="python: view.formatDatetime(cl.creation_date)">CREATION DATE</td>
-        <td tal:content="python: view.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
+        <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
+        <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
       <td tal:content ="cl/category">CATEGORY</td>
       <td tal:content ="cl/p_item">ITEM</td>
