diff options
author | lpsolit%gmail.com <> | 2009-01-08 16:09:46 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-01-08 16:09:46 +0000 |
commit | 558994bed534a4c979f6df8c2fba7d8c96c7d073 (patch) | |
tree | 697d20d0224be06cc68d2af93884a0aa49361707 /template/en/default/account/password/forgotten-password.txt.tmpl | |
parent | 11fa9ce3596363a4d4badd7960ae73e8dc535050 (diff) | |
download | bugs-558994bed534a4c979f6df8c2fba7d8c96c7d073.tar bugs-558994bed534a4c979f6df8c2fba7d8c96c7d073.tar.gz bugs-558994bed534a4c979f6df8c2fba7d8c96c7d073.tar.bz2 bugs-558994bed534a4c979f6df8c2fba7d8c96c7d073.tar.xz bugs-558994bed534a4c979f6df8c2fba7d8c96c7d073.zip |
Bug 452519: Fix timezones in emails - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=LpSolit
Diffstat (limited to 'template/en/default/account/password/forgotten-password.txt.tmpl')
-rw-r--r-- | template/en/default/account/password/forgotten-password.txt.tmpl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/template/en/default/account/password/forgotten-password.txt.tmpl b/template/en/default/account/password/forgotten-password.txt.tmpl index f8687cb4d..574975c85 100644 --- a/template/en/default/account/password/forgotten-password.txt.tmpl +++ b/template/en/default/account/password/forgotten-password.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 Password Request @@ -36,6 +35,6 @@ this request, visit the following link: [%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=cxlpw -If you do nothing, the request will lapse after [%+ max_token_age +%] days (at -precisely [%+ time2str("%H:%M on the %o of %B, %Y", expiration_ts) -%]) or when you +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", timezone) %]) or when you log in successfully. |