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/email/request-new.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/email/request-new.txt.tmpl')
-rw-r--r-- | template/en/default/account/email/request-new.txt.tmpl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/template/en/default/account/email/request-new.txt.tmpl b/template/en/default/account/email/request-new.txt.tmpl index 36cd94787..c56054b94 100644 --- a/template/en/default/account/email/request-new.txt.tmpl +++ b/template/en/default/account/email/request-new.txt.tmpl @@ -15,13 +15,12 @@ [%# INTERFACE: # token: random string used to authenticate the transaction. - # token_ts: creation date of the token. + # expiration_ts: expiration date of the token. # email: email address of the new account. #%] [% PROCESS global/variables.none.tmpl %] -[% expiration_ts = token_ts + (constants.MAX_TOKEN_AGE * 86400) %] From: [% Param('mailfrom') %] To: [% email %] Subject: [% terms.Bugzilla %]: confirm account creation @@ -31,11 +30,11 @@ X-Bugzilla-Type: admin using your email address ([% email %]). To continue creating an account using this email address, visit the -following link by [%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]: +following link by [% expiration_ts FILTER time("%B %e, %Y at %H:%M %Z") %]: [%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=request_new_account -If you did not receive this email before [%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %] or +If you did not receive this email before [% expiration_ts FILTER time("%B %e, %Y at %H:%M %Z") %] or you wish to create an account using a different email address you can begin again by going to: |