From 2bce3751395a9fe011f4d52d23331a1a0fb82bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Wed, 31 Aug 2011 11:04:54 +0200 Subject: [PATCH] date formatting is done by substition method --- product/ERP5/Tool/PasswordTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Tool/PasswordTool.py b/product/ERP5/Tool/PasswordTool.py index 6b1c6047af..d095046eb3 100644 --- a/product/ERP5/Tool/PasswordTool.py +++ b/product/ERP5/Tool/PasswordTool.py @@ -165,7 +165,7 @@ class PasswordTool(BaseTool): # send mail message_dict = {'instance_name':self.getPortalObject().getTitle(), 'reset_password_link':url, - 'expiration_date':self.getExpirationDateForKey(key).strftime('%Y/%m/%d %H:%M')} + 'expiration_date':self.getExpirationDateForKey(key)} if notification_message is None: subject = translateString("[${instance_name}] Reset of your password", -- 2.30.9