From: lpsolit%gmail.com <> Date: Fri, 15 Dec 2006 20:30:02 +0000 (+0000) Subject: Bug 363894: Use a better date format in notifications about user account creation... X-Git-Tag: bugzilla-2.23.4~160 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28468d54847481f7bc1d51b4850126e965ee3432;p=thirdparty%2Fbugzilla.git Bug 363894: Use a better date format in notifications about user account creation and email address change (and include the timezone too) - Patch by Frédéric Buclin r=timeless a=myk --- diff --git a/template/en/default/account/email/change-new.txt.tmpl b/template/en/default/account/email/change-new.txt.tmpl index 13162bf345..d3494e62aa 100644 --- a/template/en/default/account/email/change-new.txt.tmpl +++ b/template/en/default/account/email/change-new.txt.tmpl @@ -39,5 +39,5 @@ this request, visit the following link: [%+ Param('urlbase') %]token.cgi?t=[% token FILTER url_quote %]&a=cxlem -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) %]). +If you do nothing, the request will lapse after [%+ max_token_age %] days +(on [%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]). diff --git a/template/en/default/account/email/change-old.txt.tmpl b/template/en/default/account/email/change-old.txt.tmpl index 2035390a07..b50cbfa1b0 100644 --- a/template/en/default/account/email/change-old.txt.tmpl +++ b/template/en/default/account/email/change-old.txt.tmpl @@ -43,6 +43,6 @@ this request, visit the following link: [%+ Param('urlbase') %]token.cgi?t=[% token FILTER url_quote %]&a=cxlem -If you do nothing, and [%+ newemailaddress %] confirms this request, the -change will be made permanent after [%+ max_token_age %] days (at precisely -[%+ time2str("%H:%M on the %o of %B, %Y", expiration_ts) %]). +If you do nothing, and [%+ newemailaddress %] confirms this request, +the change will be made permanent after [%+ max_token_age %] days +(on [%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]). diff --git a/template/en/default/account/email/confirm-new.html.tmpl b/template/en/default/account/email/confirm-new.html.tmpl index 0e9ab98e5a..6c7bdd05fe 100644 --- a/template/en/default/account/email/confirm-new.html.tmpl +++ b/template/en/default/account/email/confirm-new.html.tmpl @@ -30,8 +30,8 @@ To complete the creation of your user account, you must choose a password in the form below. You can also enter your real name, which is optional.

If you don't fill this form before - [%+ time2str("%H:%M on the %o of %B, %Y", expiration_ts) %], the creation - of this account will be automatically cancelled. + [%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %], + the creation of this account will be automatically cancelled.

diff --git a/template/en/default/account/email/request-new.txt.tmpl b/template/en/default/account/email/request-new.txt.tmpl index 7a0e10a15d..3fcdddfd17 100644 --- a/template/en/default/account/email/request-new.txt.tmpl +++ b/template/en/default/account/email/request-new.txt.tmpl @@ -42,4 +42,4 @@ this request, visit the following link: [%+ Param('urlbase') %]token.cgi?t=[% token FILTER url_quote %]&a=cancel_new_account If you do nothing, the request will lapse after [%+ constants.MAX_TOKEN_AGE %] days -(at precisely [%+ time2str("%H:%M on the %o of %B, %Y", expiration_ts) %]). +(on [%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]).