From 558994bed534a4c979f6df8c2fba7d8c96c7d073 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 8 Jan 2009 16:09:46 +0000 Subject: Bug 452519: Fix timezones in emails - Patch by Frédéric Buclin r=wicked a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/account/email/confirm-new.html.tmpl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'template/en/default/account/email/confirm-new.html.tmpl') diff --git a/template/en/default/account/email/confirm-new.html.tmpl b/template/en/default/account/email/confirm-new.html.tmpl index 437c1b758..ed0ff3405 100644 --- a/template/en/default/account/email/confirm-new.html.tmpl +++ b/template/en/default/account/email/confirm-new.html.tmpl @@ -16,7 +16,7 @@ [%# INTERFACE: # token: string. The token to be used in the user account creation. # email: email address of the user account. - # date: creation date of the token. + # expiration_ts: expiration date of the token. #%] [% title = BLOCK %]Create a new user account for '[% email FILTER html %]'[% END %] @@ -24,7 +24,6 @@ title = title onload = "document.forms['confirm_account_form'].realname.focus();" %] -[% expiration_ts = date + (constants.MAX_TOKEN_AGE * 86400) %]
To create your account, you must enter a password in the form below. Your email address and Real Name (if provided) will be shown with @@ -60,7 +59,7 @@

This account will not be created if this form is not completed by - [%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]. + [% expiration_ts FILTER time("%B %e, %Y at %H:%M %Z") %].

-- cgit v1.2.3-24-g4f1b