Commit 2bce3751 authored by Aurel's avatar Aurel

date formatting is done by substition method

parent a1e81657
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment