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/change-new.txt.tmpl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'template/en/default/account/email/change-new.txt.tmpl') diff --git a/template/en/default/account/email/change-new.txt.tmpl b/template/en/default/account/email/change-new.txt.tmpl index e7f32e8d7..5803b0274 100644 --- a/template/en/default/account/email/change-new.txt.tmpl +++ b/template/en/default/account/email/change-new.txt.tmpl @@ -20,7 +20,6 @@ [% PROCESS global/variables.none.tmpl %] -[% expiration_ts = token_ts + (max_token_age * 86400) %] From: [% Param('mailfrom') %] To: [% emailaddress %] Subject: [% terms.Bugzilla %] Change Email Address Request @@ -38,5 +37,5 @@ this request, visit the following link: [%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=cxlem -If you do nothing, the request will lapse after [%+ max_token_age %] days -(on [%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]). +If you do nothing, the request will lapse after [% constants.MAX_TOKEN_AGE %] days +(on [% expiration_ts FILTER time("%B %e, %Y at %H:%M %Z") %]). -- cgit v1.2.3-24-g4f1b